WD98: How to Create an X of Y Page Numbering Scheme for Sections

Last reviewed: March 13, 1998
Article ID: Q182285
The information in this article applies to:
  • Microsoft Word 98 Macintosh Edition

SUMMARY

This article describes how you can create a Page X of Y numbering scheme in the following format:

   <Page Number> of <Total Number of Pages in Section>

MORE INFORMATION

Use any of the following methods to create a Page X of Y numbering scheme.

Method 1: Insert AutoText

To use the AutoText entry "Page X of Y," follow these steps:

  1. On the View menu, click Header and Footer.

  2. On the Header and Footer toolbar, click the Insert AutoText drop-down arrow, and then click "Page X of Y."

Method 2: Use Page and SectionPages Fields

To add "Page {Page} of {SectionPages}" to your document, follow these steps:

  1. On the View menu, click Header and Footer.

  2. On the Insert menu, click Field.

  3. Under Categories, click (All). Under Field Names, click Page, and then click OK.

  4. Immediately press the SPACEBAR once. Type "of" (without the quotation marks) and press the SPACEBAR again.

  5. On the Insert menu, click Field.

  6. Under Categories, click (All). Under Field Names, click SectionPages, and then click OK.

For additional information about the SectionPages field, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q155199
   TITLE     : WD: How to Create Two Page Numbering Schemes in One Document

Method 3: Use the PageRef Field

Use the PageRef field to obtain the number of pages in the current section.

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.

  1. On the View menu, click Header and Footer.

  2. On the Insert menu, click Page Numbers.

  3. Select the Position and Alignment settings that you want, and then click Format.

  4. Under Page Numbering, click Start At (1 should appear in the Start At box), and then click OK twice.

  5. Repeat the following instructions in each section of your document to insert a bookmark at the end of the section:

        a. Select some text at the end of the last page of the section.
    

        b. On the Insert menu, click Bookmark.
    

        c. Type a Bookmark Name, and then click Add.
    

  6. In the header or footer for the section, position the insertion point after the Page field you inserted in steps 1 through 4, type " of " (without the quotation marks, and including the space before and after the word "of").

  7. On the Insert menu, click Field, and then follow these steps:

        a. Under Categories, click (All), and
    

        b. Under Field Names, click PageRef.
    

        c. Under Field Codes, click after PAGEREF and type name of the bookmark
           you inserted to mark the end of the current section.
    

NOTE: To turn field codes on and off, press OPTION+F9. Or, click Preferences on the Tools menu, click the View tab, click the Field Codes check box (under Show), and then click OK.

With field codes turned on (press OPTION+F9), the header or footer appears as follows

   { PAGE  } of { PAGEREF BookmarkName }

where BookmarkName is the name of the bookmark you inserted in step 5.

With field codes turned off, if the current section contains 11 pages, for example, the following appears in the header or footer on page 3:

   3 of 11


Additional query words: wrong incorrect word8 word98
Keywords : kbfield macword98 kbdta
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 13, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.