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

Adding a Font Menu

You can customize Word so it includes a Fonts menu.

Discover More

Inserting the Date Your Document Was Last Printed

Word keeps track of each time you print your document, and you can automatically insert the last printing date anywhere ...

Discover More

Locking Table Contents

When you get information in your document "just right," you may want to make sure that others cannot change it. Here's a ...

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)

Adding One More Line

It always seems to happen—you print a document and then discover that you should have included one more line of ...

Discover More

Disabling Printer Notifications

Do you see a notification balloon pop up from your System Tray whenever you print a document? If this bothers you, then ...

Discover More

Left and Right Aligned on One Line in a Label

If you need to put information on a label that has both left- and right-aligned information on the same line, it can be ...

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 nine minus 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.