Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, I'm attempting to use vlookup to determine whether a value in one spreadsheet (S1) is in another (S2), so that I can add that value to S2 if it isn't there. I'm checking all the values in S1 with a Do While...Loop statement. I've coded so that OnError for the VLookUp, it goes to the code that adds the value. This works perfectly for the first value that cannot be found in S2, but for the second I get a run-time 1004 error - 'Unable to get the Vlookup property of the WorksheetFunction class'. I think that Excel is having a problem dealing with an error when one is, effectively, still 'open', so to speak. Can anyone help at all? This is driving me mad! Regards, MasterGee -- MasterGee ------------------------------------------------------------------------ MasterGee's Profile: http://www.excelforum.com/member.php...o&userid=26372 View this thread: http://www.excelforum.com/showthread...hreadid=396462 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLookup multiple values - sum returned values into single cell | Excel Worksheet Functions | |||
VLookup: Get a value from a different spreadsheet | Excel Worksheet Functions | |||
How do I match values in one spreadsheet to values in another? | Excel Worksheet Functions | |||
Can Vlookup from one spreadsheet and not another | Excel Worksheet Functions | |||
vlookup, multiple values, sum values into one cell?? | Excel Worksheet Functions |