Maximum Page Number with PAGE Field in Word for Windows

Last reviewed: February 5, 1998
Article ID: Q77359
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 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SUMMARY

Attempting to number pages higher than the maximum using the PAGE field and the Header/Footer command in Word results in either an incorrect number, no number, or a warning dialog box. The following table lists the maximum page number for arabic and roman numbering that Word allows.

Word

Version     Arabic           Roman
1.x          5,000           3,999
2.x         32,767           3,999
6.x         32,767           3,999
7.x         32,767           3,999
97          32,766          32,766


WORKAROUND

In Word versions2.x through Word 97, use the following steps to number pages after page 32,766 (32,767 in Word version 2.x-7.x):

  1. On page 32,766 (32,767 in Word version 2.x-7.x), insert the following fields at the location where you want the page number to appear:

    {SEQ page \r 32766} {SEQ pageX}

    - or -

    {SEQ page \r 32767} {SEQ pageX}

  2. On each page following page 32,766 (32,767 in Word version 2.x-7.x), insert the following fields at the location where you want the page number to appear:

          {SEQ pageX \h}
          {={SEQ pageX \c}+{SEQ page \c}-1}
    

    Note: You must add the result of two SEQ fields because the maximum result of a SEQ field is also 32,766 (32,767 in Word version 2.x-7.x).

In Word version 1.x, use the following steps to number pages after page 5000:

  1. Insert the following field on page 5001 at the location where you want the page number to appear:

    {SEQ page \r 5001}

  2. On each page following page 5001, insert the following field at the location where you want the page number to appear:

          {SEQ page}
    

MORE INFORMATION

In versions of Word earlier than 7.0, you cannot insert a SEQ field to start roman numbering at a value greater than 3999. The largest roman numeral supported by Word 6.x and earlier is 3999 (mmmcmxcix). If you insert a SEQ field with a \r switch to start at a number greater than 3999, Word returns the following error message:

   Error! Number can not be represented in specified format.

REFERENCES

"Microsoft Word for Windows User's Reference," versions 1.x, pages 103, 106-107


KBCategory: kbusage kbbug
KBSubcategory: kbfield
Additional query words: 1.x 2.0 limit 6.0 6.0a 6.0c word6
winword 2.0a 2.0a 2.0b 2.0a-CD 2.0b 2.0a-CD 2.0c winword2 7.0 7.0a
word97
Keywords : kbfield
Version : 1.x 2.x 6.0 6.0a 6.0c 7.0 7.
Platform : WINDOWS


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