Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why does this not work:
Sub TEST() Dim TESTVAR As Integer Sheets("DataQuery").Select TESTVAR = Application.WorksheetFunction.VLookup("COBRA", "A1:D20", 4) End Sub I get a Run-time error '1004' Unable to get the VLookup property of the WorksheetFunction class Data looks something like this: Supplier Item Qty Cost AEARO AEA 123 5 2.50 COBRA COB 123 8 4.50 etc... DG |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to combine Combo Box function with Vlookup function | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
HOW DO I NEST THE VLOOKUP FUNCTION WITH THE LEFT FUNCTION | Excel Worksheet Functions | |||
how do I write a vlookup function within an iserror function so t. | Excel Worksheet Functions | |||
I want to use Vlookup function and AND function in a single formu. | Excel Worksheet Functions |