vlookup worksheetfunction

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the proper syntax for using

application.worksheetfunction.vlookup(emb,"c:\lists\filename.xls"!sheet1.A1:AB300,5,false)

Basically how do you use the worksheetfunction vlookup looking up in a
different file, with the full path in case the file is not open
 
application.worksheetfunction.vlookup(emb,workbooks("c:\lists\filename.xls")
..worksheets("sheet1").range("A1:AB300"),5,false)

don'tknow what emb is.


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
The file must be open:

application.worksheetfunction.vlookup(emb,Range("[filename.xls]sheet1!A1:AB3
00"),5,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

VBA userform Vlookup Excel 1
VLookUp Function 3
VLookup in VBA Help Needed 9
Vlookup in VBA 4
VLookup Function in VB 5
Worksheetfunction 5
vlookup, true false issue 8
Vlookup property missing 3

Back
Top