WD: Changing Page Number Format in "Page of Pages" (90693)



The information in this article applies to:

  • Microsoft Word for Windows 1.0
  • Microsoft Word for Windows 1.1
  • Microsoft Word for Windows 1.1a
  • Microsoft Word for Windows 2.0
  • Microsoft Word for Windows 2.0a
  • Microsoft Word for Windows 2.0b
  • Microsoft Word for Windows 2.0c
  • Microsoft Word for Windows 6.0
  • Microsoft Word for Windows 6.0a
  • Microsoft Word for Windows 6.0c
  • Microsoft Word for Windows NT 6.0
  • Microsoft Word for Windows 95
  • Microsoft Word for Windows 95 7.0a
  • Microsoft Word for the Macintosh 6.0
  • Microsoft Word for the Macintosh 6.0.1
  • Microsoft Word for the Macintosh 6.0.1a
  • Microsoft Word 98 Macintosh Edition

This article was previously published under Q90693

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 .
  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.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:even kb3rdparty kbfield kbinfo kbprint kbPrinting macword macword macword5 odd winword winword2 word6 word7 word95 KB90693