VLOOKUP into a closed xls using VBA

  • Thread starter Thread starter L Mehl
  • Start date Start date
L

L Mehl

Hello --

Can someone show me the format for using VLOOKUP in VBA to get a value from
a closed xls file?

In a worksheet
=VLOOKUP(1,TA_TestScript.xls!TestCases,2,FALSE)

TA_TestScript.xls is the closed file

works, but I can't figure out the correct combination of [ ], " ", etc. to
make it work in VBA.

Thanks for any help.

Larry Mehl
 
Sorry ... wrong group. I have had so many questions on charting recently I
just gravitated to this group.

Re-posted in ...Programming.

Larry Mehl

L Mehl said:
Hello --

Can someone show me the format for using VLOOKUP in VBA to get a value from
a closed xls file?

In a worksheet
=VLOOKUP(1,TA_TestScript.xls!TestCases,2,FALSE)

TA_TestScript.xls is the closed file

works, but I can't figure out the correct combination of [ ], " ", etc. to
make it work in VBA.

Thanks for any help.

Larry Mehl
 
Back
Top