Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to find a way to use VLOOKUP in VBA. Using the formula in my
spreadsheet won't work for me. Users will enter data in cell A1. If it matches data in another list elsewhere, VLOOKUP will autofill A2 and A3. However, if it doesn't match any other data, users must manually fill in A2 and A3. This causes a problem with the formula as the manual entries will erase the formula. The VLOOKUP formula I'm using is: =VLOOKUP(A1,Sheet2!A1:C1800,2,FALSE) and =VLOOKUP(B2,Sheet2!A1:C1800,3,FALSE) Can anyone offer me some helpful suggestions? Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup VBA code | Excel Discussion (Misc queries) | |||
VLOOKUP as a vb code | Excel Discussion (Misc queries) | |||
Using VLOOKUP in VBA code | Excel Worksheet Functions | |||
vlookup in vba code | Excel Programming | |||
Help with Vlookup code | Excel Programming |