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

Formatting In Your Outline

Don't like the formatting that appears when looking at your document in Outline view? You can turn off the formatting and ...

Discover More

Getting Input from a Text File

You can use a macro to read information from a text file. The steps are easy, and then you can use that information in ...

Discover More

Changing Comment Color for a Single User

The default color used to format comments is determined by Windows, not Excel. You can adjust the formatting of ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (menu)

Defining Default Printers on a Document Level

If you use multiple printers, you may wonder how to set each document in Word to remember which printer to use for that ...

Discover More

Understanding Page Sizes

When you create a document, you need to be concerned about the final size of the page you will be creating. Word supports ...

Discover More

Printing AutoText Entries

If you want to print a list of the AutoText entries on your system, you can do so quickly by making one change on the ...

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 1 + 1?

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.