LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default 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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
web, querytable &jpg TomR Excel Programming 0 November 4th 05 04:30 PM
Can't change name of querytable. Bing Excel Programming 0 March 12th 05 05:57 PM
Bad QueryTable Row Count igneramos[_3_] Excel Programming 0 January 27th 04 10:21 PM
Querytable Ben.c Excel Programming 4 December 3rd 03 09:11 AM
MS QUERY w/out querytable No Name Excel Programming 1 October 24th 03 03:55 PM


All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"