I apologize if this is some trivial question that has an easy answer, but I
have been through help and 2 different Excel VB books and cannot get this to
work.
Problem: In a VB Function, I would like to do the following:
Pos = VLookup(InValue, NamedTable, 2, FALSE)
The debugger won't let me use VLookup. I also tried Average, etc., and the
debugger pops on whatever built-in function I use.
Is there a flag I can set, or a technique I need to use to make this work?
I really know excel, but am a novice at VB. I can get around it nesting
vlookups in the spreadsheet, but it is really ugly. Being able to do this
would enable me to clean up my code a bunch. I would welcome feedback.
Regards,
Jim
--------------
Jim Conrady
jimconrady@hotmail.com
Bookmarks