LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Wait for Pivot Refresh before continuing Code Execution

I have a macro that Refreshes multiple pivot tables, then performs various
actions after the pivot tables are supposed to refresh.

However, the code keeps chugging along even before it finishes refreshing my
Pivots. Is there any way to "Pause" until all the refreshes are complete and
then finish executing the rest of the code?

I tried adding a backgroundquery = false to the end, but I guess that only
works for QueryTables and not PivotCaches.

Thanks,
Dan
 
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
VBA code to refresh Child Pivot Table HKS Excel Discussion (Misc queries) 0 May 7th 08 07:49 PM
is there a code to wait? choice[_2_] Excel Programming 1 January 8th 05 06:47 AM
How To Finish pivot table refresh before cont. VBA code graham Excel Programming 0 June 24th 04 06:22 AM
VBA Code to wait 50-150 mS Hotbird[_2_] Excel Programming 2 December 31st 03 09:15 PM
waiting for data refresh before continuing VBA sub David Macqueen Excel Programming 1 October 6th 03 03:13 AM


All times are GMT +1. The time now is 11:56 PM.

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"