#1   Report Post  
Andrew Hills
 
Posts: n/a
Default External Data

Frank & Jamie,

When importing data using an existing query, (via Data/Import External
Data/Import Data), the "Select Data Source" dialog box pops up, from which I
select an existing query. Then another box titled "Import Data" pops up,
giving one the options of editing the query and also selecting "Create
PivotTable report...". The trouble is, once the PivotTable has been created
by this direct method, Excel does not recognize anywhere in the PivotTable as
being inside the Query range - therefore the Edit Query button on the
External Data toolbar remains grayed out. The only way I can edit this is go
back to the original query and re-construct the PivotTable again.

If anyone has any suggestions, that would be great!
Andrew

"Jamie Collins" wrote:

"Frank Stone" wrote ...

The data source is in Microsoft query. click somewhere
inside your query range then click
toolsget external dataedit query.
If the wizard comes up, go the the last page(4) and choose
view data or edit query in microsoft query.
once in microsoft query go to ViewSQL.
edit the file path protion of the database query to the
new database name


Frank,
You standard answer to this type of question ignores the fact that the
database path does not always appear in the SQL query text. The
connection string should be changed. See:

http://www.dicks-clicks.com/excel/Ex...htm#ChangeConn

Jamie.

--

Reply
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
How do I create a list in excel that contains external data? bill@bb Excel Discussion (Misc queries) 1 February 15th 05 02:45 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
How can I check if data in an external data range is changed afte. Ruud Excel Worksheet Functions 0 January 7th 05 12:15 PM
How can I check if data in external data range is changed after re Ruud Excel Discussion (Misc queries) 0 January 7th 05 12:07 PM
Fetching External Data from Excel Sri Excel Discussion (Misc queries) 2 January 3rd 05 11:46 AM


All times are GMT +1. The time now is 06:38 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"