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

Hiding Rows Based on a Cell Value

This tip contains a macro to hide rows that contain data you don't want to see.

Discover More

Repeating Cell Contents

Want to repeat cell contents over and over again within a single cell? Excel provides two ways you can duplicate the content.

Discover More

Quickly Clearing Array Contents

An array of variables is a powerful element of VBA programming. If you want to clear what is stored in an array, here's a ...

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)

Inserting a Document's Path

You can use the FILENAME field to insert a document's filename and, optionally, the path to that filename. However, if ...

Discover More

Inserting the Author Name

Did you know that Word tries to keep track of who the author of a document is? This information can be easily added to ...

Discover More

Standard Text before a Sequence Number

When you use fields to number items within a document, you may want to add some standard text before each field. There ...

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 5 - 3?

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.