Solved

macro to refresh all pivot tables

Posted on 2014-01-08
3
265 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 50

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 50

Expert Comment

by:Rgonzo1971
ID: 39764935
Is is more comprehensible?

Sub Macro()

ThisWorkbook.RefreshAll

End Sub

Open in new window

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

860 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