Vllokup
Roedd <<T De Villiers wedi ysgrifennu:
Table is a name I have defined,
the following is my vlookup with which I get object-defined error,
many Thanks
Sub test()
Cells(2, 9) = WorksheetFunction.VLookup(Cells(2, 7), Table, 2, 0)
End Sub
At a guess:
Cells(2, 9) = WorksheetFunction.VLookup(Cells(2, 7), Range("Table"), 2, 0)
HTH
Rob
|