Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Using Continued Lines.
Written by Allen Wyatt (last updated May 26, 2021)
This tip applies to Word 97, 2000, 2002, and 2003
One WordTips reader wrote about a special page numbering need for their organization. Besides placing a regular page number at the top of a page, on the previous page they place a footer that tells the upcoming page number. For instance, at the bottom of page 1 you might place "Continued on page 2." The question was how to place such a footer on each page except the last one, and how the proper page number can be placed there. This compound field allows you to place the proper information at the bottom of each page. A different footer appears on the last page.
{ IF { PAGE } < { NUMPAGES } "Continued on page {={PAGE} + 1}" "Last Page"}
Not the use of the incremented page number in the field so that the next page is always referenced. If you want to change the exact text that appears with the incremented page number, then simply change the info appearing between the quote marks, but outside the compound page number field. (In this case, it is the text 'Continued on page '.) In addition, if you don't want any footer to appear on the last page of the document, then delete the "Last Page" portion of the field (including the quote marks).
You can insert field braces by pressing Ctrl+F9 and you can nest different fields, as this tip requires, by using the same shortcut key. To create the desired footer, open your document and follow these steps.
When you create the fields, make sure you use the proper spelling of the field names, and that the quote marks are included as indicated.
When you use a field such as this, it is a good idea to either manually update the fields before printing or make sure Word is set to do this automatically. You can check this by following these steps:
Now, whenever you print, Word first updates every field in the document before the first page is produced. This ensures that your footers appear as you desire.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1151) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Using Continued Lines.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
Want a quick way to create fractions? You can do it by using fields, as described in this tip.
Discover MoreIf you try to add a quote mark or a backslash as part of a field parameter or switch, you may be surprised at what you ...
Discover MoreOne of the pieces of information tracked by Word is when a document was first created. Here's how you can access that ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2014-07-06 09:44:14
Miguel Antonio Suárez
Hi Allen: When I say "...advertisement at the right side of the first paragraph..." I mean a big box with Google ads blocking suggested footer. Maybe, this can make clear what I mean. Once again, thanks for your attention.
2014-07-06 08:40:40
Peter Kirkpatrick
I have a small question. You say this:
"...if you don't want any footer to appear on the last page of the document, then delete the "Last Page" portion of the field (including the quote marks)."
I would have thought you needed to retain the quotation marks thus [ "" ] to retain the two alternative values for the IF field. Why are you able to omit them here?
2014-07-05 11:19:03
Miguel Antonio Suárez
Hey, Allen, advertisement at the right side of the first paragraph blocks the end part of the suggested footer. Would be nice to show the solution in a place different to the blockage in order to display the suggested footer fully. Thanks a lot!
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments