Dealing with the X of Y Bug

Written by Allen Wyatt (last updated October 14, 2019)
This tip applies to Word 97, 2000, 2002, and 2003


Often it is helpful to have not only a page number in your document header or footer, but also an indication of how many pages there are in the entire document. For instance, you could include information such as Page 1 of 432 (or however many pages are in your document). This is easy enough to do with Word, and the program even provides an AutoText entry that allows you to easy add the Page X of Y notation in your header or footer.

The problem is that it may not work properly or consistently. Sometimes the correct numbers appear when you use Print Preview, but they don't print properly. Sometimes they print properly, even though they don't show up correctly in Print Preview. The exact behavior of this feature depends on the version of Word you are using, and perhaps the current phase of the moon. (Just a little tongue-in-cheek lunar humor there. The moon has no discernable effect on the performance of Word, as far as I can tell.)

The X of Y problem first cropped up in Word 97, and has amazingly (and persistently) continued into later versions of the software. The general guidance is to update to the latest service pack for whatever version of Word you are using. (Service releases for Word are available at the Microsoft Web site.) Understand, however, that there have been reports that the latest service packs don't always fix the problem.

If you would like more information on the X of Y problem, including workarounds that you can use in case the service pack updates don't do the trick, make sure you visit the Word MVP site:

http://wordmvp.com/FAQs/AppErrors/PageXofY.htm

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1311) applies to Microsoft Word 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Figuring Out the Low-Score Winner

Need to figure out the lowest score in a range of scores? Here's the formulas to get the information you need.

Discover More

Worksheet Events

You can create macros that are automatically executed whenever certain events occur within a worksheet. This tip details ...

Discover More

Conditionally Highlighting Cells Containing Formulas

Excel's conditional formatting feature allows you to create formats that are based on a wide variety of criteria. If you ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (menu)

Errors while Printing

Printing a document is a common task in Word. What if you get an error message while printing? Tracking down the cause ...

Discover More

Duplex by Default

Many printers these days have the capability to print on both sides of a piece of paper. You may want Word to use this ...

Discover More

Limiting Document Page Count

Do you need to have your document fit within a certain number of pages? This can be close to impossible to do within ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.