I have a user form that obtains details of a vehicle hire, in particular the date of hire, i then post this date back to a cell in a worksheet and then perform a vlookup to populate the next cell looking up the date from a table located in a different sheet within the same workbookin the code i have used is :- CurrDate = ActiveCell.Offset(0, 18).Value
ActiveCell.Offset(0, 13).Value = Application.WorksheetFunction.VLookup(CurrDate, RefTables!("B:C"), 2, False)
RefTables is the name of the sheet. When i run the code I get the error "Function not defined" can anyone please explain
ActiveCell.Offset(0, 13).Value = Application.WorksheetFunction.VLookup(CurrDate, RefTables!("B:C"), 2, False)
RefTables is the name of the sheet. When i run the code I get the error "Function not defined" can anyone please explain