Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheetfunction.Vlookup
Hello,
I have unsuccessfully tried Worksheetfunction.Vlookup looking for a date. It works fine if I place a formula as ActiveCell.Formula = "=Vlookup" Is their any trick I should be aware of when using the a date value in Worksheetfunction.Vlookup? bwilcox |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Worksheetfunction.Vlookup
Just make sure the formula parameters match, in type, the cell values. For
example, if the cells are truly dates (not text that looks like dates) then be sure to use a date value for the lookup; i.e this should work WorksheetFunction.Vlookup(DateValue("1/1/2005"),LookupRange,2,False) Where this would not WorksheetFunction.Vlookup("1/1/2005",LookupRange,2,False) "Robert Wilcox" wrote: Hello, I have unsuccessfully tried Worksheetfunction.Vlookup looking for a date. It works fine if I place a formula as ActiveCell.Formula = "=Vlookup" Is their any trick I should be aware of when using the a date value in Worksheetfunction.Vlookup? bwilcox |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
WorksheetFunction.Vlookup | Excel Discussion (Misc queries) | |||
Worksheetfunction.vlookup and #value error | Excel Worksheet Functions | |||
vlookup worksheetfunction | Excel Programming | |||
application.worksheetfunction.vlookup | Excel Programming | |||
worksheetfunction.vlookup? | Excel Programming |