Pivot table Multiple Consolidation Range Automation

Saratoga

New Member
Joined
Jan 28, 2011
Messages
12
Is there a way to automatically create a pivot table with every sheet in a workbook automatically? In other words, I need a pivot table with column range (fj2:fs300) for every sheet in a workbook. I have 30 workbooks with about 200 sheets in each that is continually updated so I can't do it manually. Thanks for your help.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
You could create a PivotTable in every sheet using VBA.

If all your PivotTables have the same layout, it might be more efficient to have macro that copies a single "master" pivottable, pastes it on every sheet, then changes the data source to the range fj2:fs300 on the same sheet.

You could use the macro recorder to record the process of doing this manually to give you a start on the code.
 
Upvote 0

Forum statistics

Threads
1,215,025
Messages
6,122,731
Members
449,093
Latest member
Mnur

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