ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   AddIn with Tables (https://www.excelbanter.com/excel-programming/292524-addin-tables.html)

Curare[_2_]

AddIn with Tables
 
I am creating an AddIn that does a vlookup in one of the worksheets use
to created the add-in. Can this method work? Why I ask is because
get a compile error when I do this. Below is my vlookup coding I us
in the immediate window:

?application.vlookup(32,Tbles!A5:G130,2,0

--
Message posted from http://www.ExcelForum.com


Bob Phillips[_6_]

AddIn with Tables
 
Try adding the workbook name

??Application.Evaluate("VLOOKUP(32,'[myAddin.xla]Tbles'!A5:G130,2,0)")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Curare " wrote in message
...
I am creating an AddIn that does a vlookup in one of the worksheets used
to created the add-in. Can this method work? Why I ask is because I
get a compile error when I do this. Below is my vlookup coding I use
in the immediate window:

?application.vlookup(32,Tbles!A5:G130,2,0)


---
Message posted from http://www.ExcelForum.com/




Curare[_3_]

AddIn with Tables
 
Yes, that works! Thanks a lot

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com