Adding a Box Around Selected Text

In other WordTips you learn that you can quickly and easily add borders around paragraphs of text. You can also add borders around words or characters within a paragraph. This is done by using some of the special field formatting capabilities of Word. To add a border around text within a paragraph, follow these steps:

Position the insertion point where you want the boxed text to appear.

Press CTRL+F9 to insert field braces.

Within the field braces, type EQ \x(text), replacing "text" with the text you want boxed.

Press SHIFT+F9 to show the results of the field.

As an alternate way of performing the same task, you can follow these steps:

Position the insertion point where you want the boxed text to appear.

Choose the Field option from the Insert menu. This displays the Field dialog box. (See Figure 1.)

Figure 1. The Field dialog box.

In the left side of the dialog box, choose Equations and Formulas as the category of field.

In the right side of the dialog box, choose Eq as the field name.

Click on the Options button.

Choose \X() as the switch you want to use, then click on Add to Field.

Within the field text box, position the insertion point between the two parentheses.

Type the text you want to appear as boxed.

Click on OK twice.

You should note that the text around which the box will appear should all be on the same line. If the text wraps across a couple of lines, the results will not be as desired.

WordTips is your source for cost-effective Microsoft Word training.
(Microsoft Word is the most popular word processing software in the world.)
This tip (166) applies to Microsoft Word 97.

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. Learn more about Allen...

MORE FROM ALLEN

Duplicating Styles without Dependency

Creating new styles in Word is a great way to ensure that your document has a uniform look. But what if you want to create a ...

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}] in your comment text. You’ll be prompted to upload
your image when you submit the comment. Maximum image size is 8Mpixels. 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.

Source

(gif, jpeg or png only, 5MB maximum file size)

Source

(gif, jpeg or png only, 5MB maximum file size)

Source

(gif, jpeg or png only, 5MB maximum file size)

Notify me about new comments ONLY FOR THIS TIP

Notify me about new comments ANYWHERE ON THIS SITE

Hide my email address

What is eight minus 3?

There are currently no comments for this tip. (Be the first to leave your comment—just use
the simple form above!)