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

ID: Q90693

The information in this article applies to:

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          : kb3rdparty kbprint kbfield winword macword word6 winword2 word7 word95 macword5 
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

Last Reviewed: February 4, 1998