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.
Bookmarks