Excel - Pivot table - Print multiple files

npumer

New Member
Joined
Aug 3, 2017
Messages
1
My Excel file has:
Pivot table that sums sales territories with customer details.
Pivot table has page breaks at every change in territory.
When printing pivot table, each territory may contain 1-5 pages, depending on how many rows of customer details. eg, Territory 1 = (5) pgs, Territory 2 = (2) pgs,

Is there a way to print "Page 1/X" on the first page of every change in Territory?

Or is there way to print each Territory to its own pdf? (5 files for 5 Territories)?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Welcome to the msg board!

Printing to multiple sheets / files is really easy with the "Show Report Filter Pages" -method. Just place your territories in the Report Filter and find the Show Report Filter Pages -selection under the Options-drop down on the Options tab of the Pivot Table tools -tabs.

Create the Page "1/X" -messages in the Header / Footer -section of the Insert -tab or under the Page Setup of the Page Layout -tab. You have to create them on each worksheet you're going to print but if you're using the same file / pivot table every time you only have to refresh the pivot table and all the Report Filter Pages update at the same time - including the page numbers.

Here's a video link to the Show Report Filter Pages -tutorial: Create Multiple Pivot Table Reports with Show Report Filter Pages - YouTube
 
Upvote 0
I do like the answer. However, times the worksheets that are generated do not label the new worksheet with the filter name and instead name it Sheet4, Sheet5 and so and on. Any suggestions to fix?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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