Maximum Page Number with PAGE Field in Word for Windows

ID: Q77359

The information in this article applies to:

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

Last Reviewed: February 6, 1998