I have a worksheet, where the user selects a csv file to open, then the macro runs comparing values between the two worksheets
the issue i run into, is that on the WorksheetFunction.CountIf line, i get the above error.
If i change the Vrng to Valraw.Cells, then it works fine (although it takes a while to run)
I tested this in excel 07 last night, which worked fine while it was using Vrng - it's excel 03 (at work) where it fails.
![]()
Please Login or Register to view this content.
Bookmarks