Printing worksheets in a workbook with individual Numbering

robexcelguy

New Member
Joined
Sep 1, 2011
Messages
3
Hi All,

I have a workbook with approx. 50 worksheets I need to print so that each worksheet is numbered individually (i.e. each worksheet starts at page 1 of [number of pages in the worksheet]) I have tried

&[Page] of &[Pages]

in the footer which works when printing individual worksheets but not the whole workbook.

Is there a macro I can use to add the page numbers before printing?

Ideally I would like to insert Page x of y in a specific cell but that doesn't seem possible.

Any help is greatly appreciated.

Thanks,

Rob
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You will get what you want if you print each sheet separately (not in Group mode). You can do that with a macro:

Code:
Dim ws As Worksheet
For Each ws in ActiveWorkbook.Worksheets
    ws.PrintOut
Next ws
 
Upvote 0
Thanks for replying, that would work great if I was printing to a normal printer but I'm actually consolidating them into a .pdf file. I can do this by using the built in save as pdf tool or print to our .pdf printer.

Do you know how to get around this problem?

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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