Headers over multiple sheets

Albie

New Member
Joined
Dec 23, 2014
Messages
3
I have a workbook that I am trying to print. I have 5 sheets in this workbook each with multiple pages. When I go to print the entire work book, the header creates the following page numbers:

page 1 of 20
page 2 of 20
page 3 of 20
...

What I want is for it to start over with every new sheet like this:

page 1 of 3
page 2 of 3
page 3 of 3
page 1 of 5
page 2 of 5
...
page 5 of 5
page 1 of 2
page 2 of 2


Is this possible? Any suggestions would be greatly appreciated.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi,

Printing the whole workbook combines the number of pages in the entire workbook by default.

If you don't have too many worksheets, you could print them one by one manually, then you will get thereof number of pages on each worksheet separately.

You could also use a marco to print all worksheets one by one at once (not as entire workbook):

Code:
[COLOR=#0000ff]Sub[/COLOR] Macro1()

[COLOR=#0000ff]Dim[/COLOR] Sh [COLOR=#0000ff]As[/COLOR] Worksheet

[COLOR=#0000ff]For Each[/COLOR] Sh [COLOR=#0000ff]In[/COLOR] ActiveWorkbook.Worksheets

Sh.PrintOut Copies:=1, Collate:=True, IgnorePrintAreas:=False
        
[COLOR=#0000ff]Next[/COLOR]

[COLOR=#0000ff]End Sub[/COLOR]
 
Upvote 0
I have about multiple documents with an average of 15 tabs so the macro is great thanks for the quick response.
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,684
Members
449,116
Latest member
HypnoFant

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