W
wrgallo
I want to use a function like VLOOKUP in VBA code. So I want to be abl
to say:
Sheets("Sheet3").cells(2,2) = Vlookup(Sheets("Sheet1").Cells(1,1),
Sheets("Sheet2").Range("D1:E60"), 2)
I want to look up the value from sheet1 cell A1, in Sheet2 D1 to D60.
If found, return the row from column E on sheet 2 and place result i
Cell B2 in sheet 3.
However, I don't know how to use the Vlookup function from within VBA.
Perhaps one cannot do so.
Thanks,
to say:
Sheets("Sheet3").cells(2,2) = Vlookup(Sheets("Sheet1").Cells(1,1),
Sheets("Sheet2").Range("D1:E60"), 2)
I want to look up the value from sheet1 cell A1, in Sheet2 D1 to D60.
If found, return the row from column E on sheet 2 and place result i
Cell B2 in sheet 3.
However, I don't know how to use the Vlookup function from within VBA.
Perhaps one cannot do so.
Thanks,