WD: Page Numbering in "Page of Total Pages in Section" FormatLast reviewed: February 5, 1998Article ID: Q97861 |
The information in this article applies to:
SUMMARYThis article describes how you can number the pages of a section in the following format:
<Page Number> of <Total Number of Pages in Section> MORE INFORMATIONThis numbering sequence is implemented differently depending on the version of Word for Windows you are using. Follow the directions that correspond to the version you have installed as follows:
Word 7.x, 97In Word 7.x or Word 97, use "Page {page} of {SectionPages}" (without the quotation marks). Unlike its behavior in Word 6.x, the SectionPages field is fully implemented and works as expected within the header or footer of a document. For additional information about the SectionPages field, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q159678 TITLE : WD97: Incorrect SectionPages Result w/Background Printing Word 6.xWord 6.x ships with the SectionPages field, which returns the total number of pages in a section. However, the SectionPages field is not fully implemented and does not return the correct number of pages in a section if you insert the field in the header or footer. To return the number of pages in a section in Word 6.x, use the steps described in the next section. For more information on the SectionPages field, query in the Microsoft Knowledge Base on the following word:
SectionPagesWord 2.x Use the PAGEREF field to obtain the number of pages in the current section. The following instructions insert page numbers in the header or footer of your document. Page numbering starts at 1 for each section, and the PAGEREF field yields the number of pages in each section. Page numbering appears as "Page X of Y" on each page, where X is the current page in the current section, and Y is the number of pages in the current section.
Word 1.xIn Word versions 1.x, there is a problem with the method described for Word version 2.x above. When you insert the PAGEREF field in the header or footer, its result is the current page number instead of the number of the page where the bookmark is located. As a result, you must use the one of the following methods in Word versions 1.x:
Method 1: Lock the PAGEREF Field
Method 2: Use a SET Field
REFERENCES"Microsoft Word for Windows User's Guide," version 2.0, pages 747, 749 "Microsoft Word for Windows User's Reference," pages 103-104, 107
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |