WD2000: How to Use a Field to Print Text in a Footer Except on Last Page

Article translations Article translations
Article ID: 211755 - View products that this article applies to.
This article was previously published under Q211755
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SUMMARY

This article describes how to insert a field into a Microsoft Word document footer that prints the word "Continued" on all pages except the last page.

MORE INFORMATION

To print the word "Continued" in a footer on all pages except the last one without using a section break, follow these steps:
  1. On the View menu, click Header and Footer.
  2. Switch to the Footer by clicking the Switch Between Header and Footer button on the Header and Footer toolbar.
  3. In the footer, press CTRL+F9 to insert field braces. Inside the braces, type "if" (without the quotation marks), press CTRL+F9 for another set of field braces, and type "numpages" (without the quotation marks) inside the field braces.
  4. Press the RIGHT ARROW key twice to position the insertion point outside the closing brace of the NUMPAGES field. Type ">" (without the quotation marks), press CTRL+F9, and type "page" (without the quotation marks) inside these field braces.
  5. Press the RIGHT ARROW key twice to position the pointer outside the closing brace of the PAGE field. Type a space and "Continued" (with the quotation marks). Type another space and "" (two quotation marks).
    The field should appear as follows:

    {if {numpages}>{page} "Continued" ""}

    The logic for this sample field is:
    If the total number of pages is greater than the current page number, then show/print Continued; if the total number of pages is not greater than the current page number, then show/print nothing.
NOTE: This method can be used to print or display any item in the header or footer of a document excluding the last page. You can also use this method to place a different item on the last page. In the following example:

{if {numpages}>{page} "Not Last Page" "Last Page"}

"Last Page" will print on the last page of the document, and "Not Last Page" will be printed on the preceding pages. You can substitute text appropriate for your situation inside the quotation marks.

For additional information, please see the following article in the Microsoft Knowledge Base:
209220: WD2000: How to Print a Field Result on the Last Page of a Document

Properties

Article ID: 211755 - Last Review: February 21, 2014 - Revision: 1.0
APPLIES TO
  • Microsoft Word 2000 Standard Edition
Keywords: 
kbnosurvey kbarchive kbhowto kbfield kblayout KB211755

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com