
Tips.Net > WordTips Home > Fields > Unwanted Page Breaks in Cross-References
Summary: You can use fields to cross-reference different text in a document. If you get unwanted results from the cross-referencing (like a page break you don’t want included), then you need the information in this tip. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)
Word allows you to insert cross-references in your document to other places in your document. A typical use for this ability is to cross-reference the contents of a heading. For instance, you may have a heading on one page that you want to cross-reference on another. If you do the cross-reference properly (as has been detailed in other WordTips), then whenever you update the text in the heading, Word automatically updates the text in the cross-reference as well.
What if your cross-reference develops strange behavior, such as always having a hard return before the text or a page break before it? Carefully read the paragraph above and you will discover the answer: If you update the text in the heading, Word automatically updates the text in the cross-reference. In other words, if you put a hard return or a page break in front of a cross-referenced heading, then that hard return or page break will be reflected in the cross-reference, as well. Worse yet, you won't be able to delete the hard return or page break at the point of cross-reference, only in the heading.
Why does this work this way? It is very simple, really. Word implements cross-references through a combination of a bookmark and a field. The bookmark is used to mark the heading (in this case) and the field is used to reference that bookmark. If you add information to the heading--including a hard return or a page break--then that added information is included in the bookmarked text and therefore in the cross-reference.
There are two potential solutions to this problem. The first is to examine the bookmarks used for the cross-references and make sure that they don't include the hard return or page break characters. This approach can be difficult, especially for beginners--you really need to have a firm grasp on non-printing characters and how bookmarks work.
An easier solution is to make sure that you never place extra hard returns or page breaks before your headings. Instead, position the insertion point at the beginning of the paragraph preceding the heading and press Enter, rather than pressing Enter at the beginning of the heading itself. An even better solution is to use Word's style features to define how a heading should behave. The behavior, as defined in the style, doesn't follow through and apply to the cross-reference. The result is a "better behaved" document that is easier to format and easier to maintain.
Tip #1599 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.
Do you want a decade of WordTips information at your fingertips? You can find what you need with the WordTips Ten-Year Library. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Pet Tips
Word2007 Tips
WordTips