![]() |
QueryTable Lookup
I am trying to populate Excel comboboxes (or something similar) from data in
Access. By scouring the internet, I found out about QueryTable and I have written code that will return the results of a query onto an Excel sheet. I would like the results to go to comboboxes. Here is what I have: Set varQuery = ActiveSheet.QueryTables.Add(Connection:=varConn, Destination:=Range("a1"), Sql:=varSql) varQuery.Refresh Any help is appreciated. Thanks. |
All times are GMT +1. The time now is 05:07 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com