A family of Microsoft word processing software products for creating web, email, and print documents.
You can use Shift+Alt+p to insert a Page field { page }
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I write the header and then insert a page number, the header disappears, or at best, the page number appears on a separate line. Isn't there some wild card I can use to make the page number change as the pages change, so I can include it in the header? I need to duplicate the headers exactly, so everything needs to be on the same line, and I need the page number style to be "P01" etc.
A family of Microsoft word processing software products for creating web, email, and print documents.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
You can use Shift+Alt+p to insert a Page field { page }
The link Greg gave you was not the most helpful one. You would have done (a little) better with http://WordFAQs.mvps.org/HeaderFooter.htm, though that article doesn't really focus on Word 2007/2010 but more on the theory of headers and footers.
Word 2010 does make it easier (in some ways) to create "great looking" (Microsoft's term) headers and footers, but much harder for some users to create a plain-vanilla header/footer from scratch. As you've discovered, the secret is just to access the header/footer directly and enter text the way you would in any other version. The alignment tabs are an advance over fixed tab stops, and the Header/Footer style does include these tab stops (Center and Right Margin) by default.
As Doug says, the easy way to insert a PAGE field is Alt+Shift+P (you can also use Insert | Page Number | Current Position). You can then add any static text you like (the P before the number). In this instance, because the Page Number Format dialog (Page Number | Format Page Numbers) does not offer the option of 01, 02, 03 numbering, you'll need to edit the PAGE field manually to achieve it.
{ PAGE # 00 } 3. Press Alt+F9 again and F9 to update if necessary.
Be aware that this page number formatting will not be reflected in the TOC, if any.
Greg Maxey's reply offers a link to a very good account of inserting headers/footers and page numbers. But it does not tell me how to include a variable page number AS PART OF MY HEADER. I do not want the page number to appear on a separate line from the header, but at the end of it. WordPerfect used to have some sort of symbol that stood for "number of the present page." I would like to include that sort of symbol in the header itself. Maybe it simply cannot be done in Word. I had to work around this problem -- fortunately in a rather short document -- by starting a new section on each page, then manually changing the page number in my header. My task was to duplicate/translate the header in a document I was translating, which is why I couldn't let the page number appear on a separate line from the header proper.
I have now found, in MS Word Help, the answer to my question. It is:
"Add a custom page number
This opens the Design tab under Header & Footer Tools.

"
Greg Maxey's reply offers a link to a very good account of inserting headers/footers and page numbers. But it does not tell me how to include a variable page number AS PART OF MY HEADER. I do not want the page number to appear on a separate line from the header, but at the end of it. WordPerfect used to have some sort of symbol that stood for "number of the present page." I would like to include that sort of symbol in the header itself. Maybe it simply cannot be done in Word. I had to work around this problem -- fortunately in a rather short document -- by starting a new section on each page, then manually changing the page number in my header. My task was to duplicate/translate the header in a document I was translating, which is why I couldn't let the page number appear on a separate line from the header proper.