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

Highlighting Values in a Cell

There are many ways that Excel allows you to highlight information in a cell. This tip examines a way to highlight values ...

Discover More

Replacing Links with Values

Need to get rid of the links in your workbook but save the values that were retrieved by those links? It could be easy or ...

Discover More

Automatically Referencing Info Entered in a Table

Tables are a great way to organize information in a document. At some point you may want a cell in a table to contain the ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (menu)

Inserting the Document Revision Number

Need to know how many times your document has been saved? Word keeps track of this information, and makes it easily ...

Discover More

Locking a Field

When you use fields in your document, you may want them to not change from a particular displayed result. You can lock ...

Discover More

Finding Fields

Fields allow you to add simple dynamic content to your document. Here's how you can find the fields when you need to know ...

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

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.