Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I'm writing a piece of VBA code and I need to run a vlookup. In particular, I've written the following code fir = Application.WorksheetFunction.VLookup(period, Range("curve"), 2) whe - fir is a number; - period: is a date written by a named range; - curve: is a named range with dates on the 1st column and numbers in the other columns. I need to select a number (fir) for the nearest date to "period" in the "curve" matrix. When I run the model, it gets me the error: Runtime error '1004' - "Unable to get the Vlookup property of the WorksheetFunction class". Why? *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
dates in VLOOKUP | Excel Worksheet Functions | |||
vlookup with Dates | Excel Worksheet Functions | |||
vlookup and dates! | Excel Worksheet Functions | |||
vlookup and dates | Excel Programming | |||
dates and vlookup | Excel Worksheet Functions |