Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Change order of query updates

I have a workbook that has a query from an SQL database on one sheet and
several pivot tables on subsequent sheets that analyse the output of the
original query.
The problem I have is that if I use the 'Update All' button, it refreshes
the data source after the pivot tables - so I have to press it again to get
the pivot tables to reflect new changes in the data. Each refresh takes quite
a while to carry out, so it's annoying having to do it twice when the
underlying data has only changed once.
If I could change the order so that the data was refreshed before the pivot
tables, it would remove this problem.

Can anyone help?

When I first put the workbook together it actually refreshed the data first
(by accident, not design), which was great. However I've had to rebuild it
and since then it has the problem described above.
Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Change order of query updates

You might consider running your Queries from macros within Excel. That way
you can control what happens to whom and when.........

hth
Vaya con Dios,
Chuck, CABGx3



"ste1000" wrote:

I have a workbook that has a query from an SQL database on one sheet and
several pivot tables on subsequent sheets that analyse the output of the
original query.
The problem I have is that if I use the 'Update All' button, it refreshes
the data source after the pivot tables - so I have to press it again to get
the pivot tables to reflect new changes in the data. Each refresh takes quite
a while to carry out, so it's annoying having to do it twice when the
underlying data has only changed once.
If I could change the order so that the data was refreshed before the pivot
tables, it would remove this problem.

Can anyone help?

When I first put the workbook together it actually refreshed the data first
(by accident, not design), which was great. However I've had to rebuild it
and since then it has the problem described above.
Thanks in advance

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 change the order of item in a legend for a chart? Melissa Charts and Charting in Excel 1 October 13th 06 02:50 AM
How to change an existing query Gireeshm Excel Discussion (Misc queries) 0 July 18th 06 12:33 PM
How do I change order of rows in pivot table? greghenry Excel Discussion (Misc queries) 2 March 28th 06 02:41 PM
HOW DO I CHANGE THE ORDER OF THE SHEETS IN EXCEL WORKBOOK? joanbaer New Users to Excel 4 August 5th 05 09:23 PM
How do I change the order of choices in menu File- Send To SCPC7018 Excel Worksheet Functions 2 August 4th 05 02:11 AM


All times are GMT +1. The time now is 02:58 PM.

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

About Us

"It's about Microsoft Excel"