bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Tools > Improper Index Page Numbers

Improper Index Page Numbers

Summary: If you use Word to index a long document, double-check to make sure that the pages mentioned in the index are the correct pages. If you notice a discrepancy, it may be due to how you have hidden text handled in the document. This tip walks you through figuring out what is wrong and fixing it. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

Emily asked about a problem she was having with page references in indexes for a long document. It seems that when she inserted the index, some of the page numbers were off by one to three pages.

The first thing to check is your settings for hidden text in your document. When you insert index codes, they are inserted as fields with the hidden attribute applied to them. Word determines page counts based on what is visible on the screen, not necessarily on what is printed. Thus, you need to make sure that the display of hidden text is in sync with the printing of hidden text.

What happens if the settings aren't in sync? If hidden text is displayed (in other words, you can see the index entry codes, such as {XE "my indexed word"}), then the space taken by those visible codes are counted in the total page count. Over the course of a long document, this can affect pagination quite a bit. However, if Word is configured to not print hidden text, then the index page numbers--which are based on what is displayed, not what is printed--won't match the actual page numbers on the printout. (Remember that the display and the printing of hidden text are controlled independently of each other.)

The solution to this situation is fairly simple. All you need to do is follow these steps:

  1. Choose Options from the Tools menu. Word displays the Options dialog box.
  2. Make sure the View tab is selected. (Click here to see a related figure.)
  3. Make sure that both the Hidden Text and All check boxes are cleared.
  4. Click on the Print tab.
  5. Make sure the Hidden Text check box is cleared.
  6. Make sure the Update Fields and Update Links check boxes are both selected.
  7. Click on OK.
  8. Position the insertion point anywhere within the index.
  9. Press F9 to update the index.

Your index page numbers and your printing page numbers should now be in sync with each other. If they are not, then it could be that your document includes characters that, for whatever reason, can be displayed but cannot be printed. These would affect the displayed pagination--and thus the index page numbers--but not the printed pagination. You can discover if this is the case by carefully comparing your printout to what is displayed on your screen.

Finally, if these solutions still don't correct any page number disparities, it is possible that your document is corrupted in some way. This can occur in some documents, particularly documents that are used over the course of years and that had their roots in a different word processing program. You can try to open the file in WordPad and then use WordPad's Save As command to save the document back out. This will get rid of many of the advanced codes supported by Word by not by WordPad.

If the problem still persists, the only thing left to do is to get rid of all formatting and revert to plain text. Select all the text in the document (Ctrl+A), copy it (Ctrl+C), and paste it into a text editor such as Notepad. You can then copy it from within Notepad and paste it back into a new Word document. This process will get rid of any spurious formatting codes that may be corrupting the document. The only problem with such a drastic approach, of course, is that your document is now completely unformatted and you must reformat it and insert index codes all over again.

Tip #1650 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003


Find and Replace Almost Anything! Learn the ins and outs of the powerful search engines available in Word. Learn to search for and replace text, formatting, graphics, and special characters the easy way with WordTips: Find and Replace.

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)