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.
 

Some videos you may like

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Jerry Sullivan

MrExcel MVP
Joined
Mar 18, 2010
Messages
8,787
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,535
Messages
5,596,741
Members
414,094
Latest member
dingo_baby

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
Top