ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Re : Excel VBA and WorkSheetFunction (Match) (https://www.excelbanter.com/excel-programming/409095-re-excel-vba-worksheetfunction-match.html)

[email protected]

Re : Excel VBA and WorkSheetFunction (Match)
 
Re : Excel VBA and WorkSheetFunction (Match)

1. With reference to the following code statement,

List3 = Application.Match(List1, List2, 0)

List1, 2 and 3 are declared Variants.

2. List1 and 2 are extended arrays of long text strings (variable
lengths say, 50 to 300 characters) read from 2 separate columns of a
worksheet.

3. The given code statement has caused an exception.

4. However, when List1 and 2 are shortened, the code execution is
satisfactory.

5. There is apparently a limitation on the functionality of
Application.Match.

6. Please comment and share your experience.

7. Regards.


All times are GMT +1. The time now is 05:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com