Unable to get the Vlookup property of the WorksheetFunction class
问题 I am trying to find an Employee name and their Import date from a spreadsheet called CashReward. The coding below is appearing with an error message 'Unable to get the Vlookup property of the WorksheetFunction class'. I have tried changing the data type to CDate and CStr but no use. concat = EmpName & GetDate BasicSal = WorksheetFunction.VLookup(CVar(concat), Sheets("CashReward").Range("G3:K" & Cashlastrow), 2, False) Thanks in advance 回答1: This happens if your search string is not found in