Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a range that is populated with data from SQL Server when I invoke the
ActiveWorkbook.RefreshAll method in code. Now I want to modify the SQL behind the query, but I can't see how to expose it in my Excel 2007 worksheet. (I'm sure this was easy in 2003, but seems to be hidden by 2007's Ribbon of Confusion.) Thanks, Al |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
(This works for 2003, but should also work in 2007?)
If you right click in the area where the data returned by the query are, there should be an entry like "Edit Query...". That should open the Query Wizard, and at the end of all the "Next" buttons, there should be an option to open the query in the MS Query Editor. When you get to that, you can click on the SQL button to get a look at your SQL. HTH, Eric "Allen_N" wrote: I have a range that is populated with data from SQL Server when I invoke the ActiveWorkbook.RefreshAll method in code. Now I want to modify the SQL behind the query, but I can't see how to expose it in my Excel 2007 worksheet. (I'm sure this was easy in 2003, but seems to be hidden by 2007's Ribbon of Confusion.) Thanks, Al |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2010 (64 bit) External Data connection with Access | Excel Discussion (Misc queries) | |||
External data connection needs separate login for each query | Excel Discussion (Misc queries) | |||
Problem getting external data using an existing connection | Excel Discussion (Misc queries) | |||
Connection to external data sources in Excel | Excel Discussion (Misc queries) | |||
Problem: Residual query data? Closing external connection? | Excel Programming |