Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You may be able to do something like:
commandbars("Data").Controls("Get External &Data") _ .Controls("Run Save&d Query...").Execute But you won't be able to maintain control over the process. You might have to build your own interface and the setup the parameters to the QueryTables.Add method. -- Regards, Tom Ogilvy "Howie" wrote in message ... I would like to be able to generate a query via a VBA call, and would like the actual MS Query interface or a wizard to allow the user to chose their own data source, table, and sort criteria. Basically, I'd like to insert data from a db or text file under program control. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert hard coded query criteria to Parameter Query | Excel Discussion (Misc queries) | |||
Excel 2007 / MS Query - editing existing query to another sheet | Excel Discussion (Misc queries) | |||
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? | Excel Discussion (Misc queries) | |||
Microsoft Query rejects "nz" function in Access Query | Excel Discussion (Misc queries) | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) |