Solved

macro to refresh all pivot tables

Posted on 2014-01-08
3
259 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 49

Accepted Solution

by:
Rgonzo1971 earned 500 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 49

Expert Comment

by:Rgonzo1971
ID: 39764935
Is is more comprehensible?

Sub Macro()

ThisWorkbook.RefreshAll

End Sub

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

914 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

14 Experts available now in Live!

Get 1:1 Help Now