VLookup in a Macro
VBA code will only do Exact matches using the VBA Find(). Bt you can call
the lokup worksheet functions (lookup, v lookup,hlookup) from VBA.
Excel 2003 : worksheetfunctions.vlookup(...)
Excel 2007 : application.vlookup(...)
"Beverly76" wrote:
I am trying to write a macro that duplicates a data evaluation procedure
given to me from someone else. There are several steps requiring VLOOKUPs.
I have been told that I cannot run a VLOOKUP within a macro? Is this a true
statement. If I can do it, how?
--
Sincerely,
Beverly76
|