Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
worksheetfunction.vlookup in vba
Function StLookup(strSearch As String, tableName As Range, position) StLookup = WorksheetFunction.VLOOKUP(strSearch, tableName, position, False) End Function I can't seem to trace the error #value return from this function. My original vlookup is getting wieldy -- too many ifs -- and I want to move it within the vba function so I can organize it better. -- pmoon7 ------------------------------------------------------------------------ pmoon7's Profile: http://www.excelforum.com/member.php...o&userid=30808 View this thread: http://www.excelforum.com/showthread...hreadid=504698 |
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 | |||
Worksheetfunction.Vlookup | Excel Programming | |||
vlookup worksheetfunction | Excel Programming | |||
worksheetfunction.vlookup? | Excel Programming |