Solved

macro to refresh all pivot tables

Posted on 2014-01-08
3
258 Views
Last Modified: 2014-01-08
Hi expert's excel 2007

I have 17 pivot tables in a worksheet. ...I need a macro to refresh all as opposed to refreshing each one in turn...
0
Comment
Question by:route217
  • 2
3 Comments
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 500 total points
Comment Utility
Hi,

pls try

ThisWorkbook.RefreshAll

Regards
0
 

Author Comment

by:route217
Comment Utility
Hi...rgnonzo1971..

not sure I follow
0
 
LVL 48

Expert Comment

by:Rgonzo1971
Comment Utility
Is is more comprehensible?

Sub Macro()

ThisWorkbook.RefreshAll

End Sub

Open in new window

0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now