WD: Changing Page Number Format in "Page of Pages"

Last reviewed: February 2, 1998
Article ID: Q90693
The information in this article applies to:
  • Microsoft Word for Windows versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word 98 Macintosh Edition

SUMMARY

In Microsoft Word, the format "Page of Pages" is not available as a field option.

To simulate a "Page of Pages" field:

  1. Place the insertion point where you would like the "Page of Pages" format to appear.

  2. On the Insert menu, click Field.

  3. In the Field Names list (Field Type in Word 2.0), select Page and then click OK.

  4. Type the word "of" (without the quotation marks and with a space before and after it).

  5. On the Insert menu, click Field.

  6. In the Field Names list (Field Type in Word 2.0), select NumPages and then click OK.

    The following displays on the screen: {page} of {numpages}

    If you see the numbers instead of the fields press ALT+F9 (OPTION+F9 on the Macintosh) to toggle the field codes on.

NOTE: If you know the field name, you can use Insert Field (CTRL+F9 Windows, COMMAND+F9 Macintosh) and type the field codes directly into your document.

MORE INFORMATION

Both fields, NUMPAGES and PAGE, default to Arabic numbers. You can select other styles from the Page Number Format dialog box. (To locate this option, click Page Numbers on the Insert menu.) Or, you can manually type a page number field code and use the switches in the following table.

   ENTRY                                             STYLE       RESULT
   ---------------------------------------------------------------------
   
   {page} of {numpages}                              Default     1 of 3
   
   {page \*roman} of {numpages \*roman}              Lowercase   i of iii
   
   {page \*Roman} of {numpages \*Roman}              Uppercase   I of III
   
   {page \*alphabetic} of {numpages \*alphabetic}    Lowercase   a of c
   
   {page \*Alphabetic} of {numpages \*Alphabetic}    Uppercase   A of C

The following example uses the variable "x" (without the quotation marks) to add pages to the total number of pages

   {page} of {=x + {numpages}}

where x is any number.

The following example uses the variable "x" (without the quotation marks) to subtract pages from the total number of pages

   {page} of {={numpages}-x}

where x is any number.

REFERENCES

"Microsoft Word for Windows User's Reference," version 1.x, page 113

"Microsoft Word for Windows and OS/2 Technical Reference," pp. 326-328.

"Microsoft Word for Windows User's Guide," version 2.0, pages 421-428, 751- 758.

"Microsoft Word User's Guide," version 6.0, Document number WB60460-0794, pages 251-255.

"Getting Results with Microsoft Word for Windows 95," page 41.


Additional query words: numpage
Keywords : kbfield macword macword5 winword winword2 word6 word7 word95 kb3rdparty kbprint
Version : WINDOWS: 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c, 7.0, 7.0a; MACINTOSH:3.0,3.01,3.02,4.0,5.0,5.10,6.0,6.0.1,6.0.1a;
Platform : MACINTOSH
Issue type : kbinfo


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: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.