WorksheetFunction fails in 2003 !?

A

atakacs

Folks,

for some reason the following code fails in Excel 2003

Application.WorksheetFunction.VLookup(x, y, z,
false)


with error

"Unable to get the Vlookup property of the WorksheetFunction class"

What gives ?

And yes, I have checked the various security options in the Macro
Security Tab.

Any pointer appreciated

--alexT
 
T

Tom Ogilvy

Does vlookup find a match. If not, it will return an error. If you test it
in the worksheet and it works with the equivalent arguments, then
Try using

Application.VLookup(x, y, z,false)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

call to WorksheetFunction fails in 2003 5
Acos function 3
VLookup in VBA Help Needed 9
VLookUp Function 3
VLOOKUP & ISNA 2
Vlookup error 2
What's wrong with this? 5
worksheetfunction.vlookup error 15

Top