Refreshing two pivots in different workbooks

Roman12

Board Regular
Joined
Jun 10, 2008
Messages
117
Hi there

I have approximately 14 different workbooks in one folder that need a weekly update. All of the workbooks contain two pivots. One Pivot is in the sheet called "claim", and the other sheet is a Pivot chart called "chart".

I have one Major Workbook in which I would like to have a Macro that would be able to refresh all the Pivots in the dissimilar workbooks.

Is that possible?

Thank you very much.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi,

I think a code solution would need to loop through and open each file. This is straightforward though offers little advantage over a non-code approach.

Without VBA, set the pivot tables to refresh on file open. Such as right click from within a pivot table, take the 'table options' and then select 'refresh on open'.

Is that OK for you? Regards, Fazza
 
Upvote 0
Hi

I have searched some other threads with the same problem within Mr. Excel. The following user Analyst44 asked the same question and came up with some kind of solution. Do you think it would be possible to help me implementing his idea?

The following is the user´s name and thread title.

User: Analyst44
Title: Refresh Pivot Table in a *different* workbook

thank you

roman
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,181
Members
449,071
Latest member
cdnMech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top