Page 1 of ?

Shelly9633

New Member
Joined
Sep 13, 2006
Messages
28
I have a question about page numbers in Headers. I know you can add a page number, as well as the total number of pages. I also know that you can change the first page number to be, say 5, instead of 1. But, when I do the "of Pages".... it will put Page 5 of 1, instead of 5 of 6. Is there any way to change that?

This probably only makes sense in my feeble mind, but hope someone can help me.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You change the total number of pages exactly the same way as you change the actual page number.
Code:
[Pages]+4
for example.
 
Upvote 0
I've tried that. For instance I put &[Pages] + 5, but when I go to Print Preview, it shows Page 5 of 35 (I have 3 pages total). Actually, I was able to make it work by doing this: (&[Pages]+5), but it came out like this: Page 5 of (6). So that won't work.
 
Upvote 0
Your first instance has embedded blanks: &[Pages] + 5, instead of being &[Pages]+5 which makes a big difference.
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,840
Members
449,096
Latest member
Erald

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