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

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.

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,722
You change the total number of pages exactly the same way as you change the actual page number.
Code:
[Pages]+4
for example.
 

Shelly9633

New Member
Joined
Sep 13, 2006
Messages
28
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.
 

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,722
Your first instance has embedded blanks: &[Pages] + 5, instead of being &[Pages]+5 which makes a big difference.
 

Forum statistics

Threads
1,171,274
Messages
5,874,783
Members
433,074
Latest member
alexbecker220

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
Top