Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 331
Default RefreshAll pivot tables but query

hi,

is there a way to use

ThisWorkbook.RefreshAll

to refresh all pivot tables in the workbook but leave a query "unrefreshed"?

Thanks,
--
______
Regards,
Greg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default RefreshAll pivot tables but query

Nope... You can traverse through all of the sheets and all of the pivot tbles
on those sheets refreshing each something like this...

sub RefreshPivotTables
dim wks as worksheet
dim pvt as pivottable

for each wks in worksheets
for each pvt in wks.pivottables
pvt.refreshtable
next pvt
next wks
end sub
--
HTH...

Jim Thomlinson


"Greg" wrote:

hi,

is there a way to use

ThisWorkbook.RefreshAll

to refresh all pivot tables in the workbook but leave a query "unrefreshed"?

Thanks,
--
______
Regards,
Greg

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
pasting into pivot tables query paul perkins IOM Excel Discussion (Misc queries) 0 July 29th 09 11:23 AM
Re-Linking Pivot tables to MS Query johnb Excel Programming 2 May 18th 07 03:19 PM
Using Macros to create pivot tables - query re last row chubbycheeks Excel Programming 1 April 12th 06 02:08 PM
Refreshing MS Query and Excel Pivot Tables using VBA hoppermr Excel Programming 3 December 20th 05 11:06 PM
Refreshing Pivot Tables QUery Ron McCormick[_2_] Excel Programming 1 December 3rd 03 06:31 PM


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