Microsoft KB Archive/77359

{|
 * width="100%"|

Maximum Page Number with PAGE Field in Word for Windows

 * }

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):

 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:  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:
 * 2) On each page following page 5001, insert the following field at the location where you want the page number to appear:

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.