Page Numbers on Workbook with Many Sheets

fedas18

Board Regular
Joined
Jan 21, 2010
Messages
81
Hey,

I have an excel workbook with about 7 sheets. On the top of each sheet there is a macro bottom "print":

Sub Macro15()
'
' Macro15 Macro
'
'
ExecuteExcel4Macro "PRINT(1,,,1,,,,,,,,3,,,TRUE,,FALSE)"
End Sub


All of the sheets print on 1 page except for 1 sheet which prints on 3. So when your press print, 10 pages actually print. When I print it, I would like it to say 1 of 10, 2 of 10 ect. Or 1 of 7, 2 of 7, 3a of 7, 3b of 7, 3c of 7 (for the sheet with multiple pages).

When I try to add this in the footer, it only does the # of pages for that specific sheet (1 of 1 or 1 of 3).

Can I somehow fix this? Maybe add it to the macro?

Thanks!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
If you select all the tabs first and then print they will print with the right page numbers. Except for the 7a 7b 7c thing .... there is no easy way to do that ... you'd need to adjust the footer between each single page of that 3 page print.
 
Upvote 0

Forum statistics

Threads
1,224,545
Messages
6,179,432
Members
452,915
Latest member
hannnahheileen

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