#1   Report Post  
Posted to microsoft.public.excel.misc
Jhawk1
 
Posts: n/a
Default Pivot Tables

How do I refresh multiple pivot tables at the same time in the same sheet
without opening & closing the file (refresh on open function) or going to
each pivot table and hitting refresh? Thanks for the help
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Pivot Tables

You can use a VBA procedu

Sub AAA()
Dim PVT As PivotTable
For Each PVT In ActiveSheet.PivotTables
PVT.RefreshTable
Next PVT
End Sub



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Jhawk1" wrote in message
...
How do I refresh multiple pivot tables at the same time in the
same sheet
without opening & closing the file (refresh on open function)
or going to
each pivot table and hitting refresh? Thanks for the help



  #3   Report Post  
Posted to microsoft.public.excel.misc
Jhawk1
 
Posts: n/a
Default Pivot Tables

Thanks Chip. That works great!

"Chip Pearson" wrote:

You can use a VBA procedu

Sub AAA()
Dim PVT As PivotTable
For Each PVT In ActiveSheet.PivotTables
PVT.RefreshTable
Next PVT
End Sub



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Jhawk1" wrote in message
...
How do I refresh multiple pivot tables at the same time in the
same sheet
without opening & closing the file (refresh on open function)
or going to
each pivot table and hitting refresh? Thanks for the help




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
#REF in Sheets that refer to Pivot Tables Will C. Excel Discussion (Misc queries) 1 June 2nd 06 08:54 PM
Refreshing Pivot Tables linked to Oracle Datasource [email protected] Excel Discussion (Misc queries) 0 April 25th 06 12:15 AM
Dynamically changing several pivot tables at once Jason Excel Discussion (Misc queries) 3 December 16th 05 03:50 PM
Ho to Delete "Ghost" Pivot Tables needyourhelp Excel Discussion (Misc queries) 3 November 17th 05 10:10 PM
Macro for Pivot Tables Thomas Excel Discussion (Misc queries) 1 March 15th 05 01:03 AM


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