Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

macro to refresh all pivot tables

Posted on 2014-01-08
3
Medium Priority
?
274 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 53

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 39764848
Hi,

pls try

ThisWorkbook.RefreshAll

Regards
0
 

Author Comment

by:route217
ID: 39764863
Hi...rgnonzo1971..

not sure I follow
0
 
LVL 53

Expert Comment

by:Rgonzo1971
ID: 39764935
Is is more comprehensible?

Sub Macro()

ThisWorkbook.RefreshAll

End Sub

Open in new window

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

877 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