Keeping Fields and Text Together

Written by Allen Wyatt (last updated April 4, 2022)
This tip applies to Word 97, 2000, 2002, and 2003


Fields are a great boon for developing interactive documents. One common use of fields is to create cross-references to other parts of a document. When inserting a cross-reference field, you may have some type of special identifying text that you need to always follow the field. To keep the field and the identifying text together, you separate the two by a non-breaking space.

Non-breaking spaces are used to control how Word automatically wraps text at the end of a line. The non-breaking space ensures that the text before the space and the text after the space are always on the same line. In the case of fields, however, this doesn't seem to work. Instead, Word blithely wraps text right at the non-breaking space.

This is frustrating, but it appears to be the way that older versions of Word are designed. For some reason, the field before the non-breaking space is not viewed as "text," so Word ignores the non-breaking space. The only way around this is to create your document as you normally would (with the cross-references), and then look through the document to find any instances where the cross-reference is on one line and the identifying text on the next. You can then insert a line break character just before the field so that it is forced to the next line.

The drawback to this, obviously, is that if you edit your document or if the cross-references change, you'll need to go through and remove the line breaks to make sure that the text wrapping still makes sense.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (7656) 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

Inserting Dashes between Letters and Numbers

If you need to add dashes between letters and numbers in a string, the work can quickly get tedious. This tip examines ...

Discover More

Converting Forced Text to Numbers

If you have some numbers stored in cells that are formatted as text, you may get some surprises when you try to use those ...

Discover More

Testing for an Empty Worksheet

If you are using a macro to process a number of worksheets, you may have a need to know if the worksheet is empty or not. ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (menu)

Inserting the User's Initials

One of the pieces of information tracked by Word are your name and initials. You can insert your initials by using the ...

Discover More

Inserting the Subject in Your Document

One of the properties you can specify for a document is a subject. You can then use a field code to insert this subject, ...

Discover More

Using Mandatory Form Fields

When using form fields to gather information from users of your documents, you may want to make sure that some of 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 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.