Adding a Box Around Selected Text

by Allen Wyatt
(last updated May 20, 2011)

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:

  1. Position the insertion point where you want the boxed text to appear.
  2. Press CTRL+F9 to insert field braces.
  3. Within the field braces, type EQ \x(text), replacing "text" with the text you want boxed.
  4. Press SHIFT+F9 to show the results of the field.

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

  1. Position the insertion point where you want the boxed text to appear.
  2. Choose the Field option from the Insert menu. This displays the Field dialog box. (See Figure 1.)
  3. Figure 1. The Field dialog box.

  4. In the left side of the dialog box, choose Equations and Formulas as the category of field.
  5. In the right side of the dialog box, choose Eq as the field name.
  6. Click on the Options button.
  7. Choose \X() as the switch you want to use, then click on Add to Field.
  8. Within the field text box, position the insertion point between the two parentheses.
  9. Type the text you want to appear as boxed.
  10. 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. ...

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 ...

Discover More

Changing the Size of a Drawing Object

Documents are often made up of more than just text. If you have drawing objects in your document, you will doubtless need to ...

Discover More

Summing Only the Largest Portion of a Range

Given a range of cells, you may at some time want to calculate the sum of only the largest values in that range. Here is an ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Adjusting the Width of Characters

Need to adjust how your characters look horizontally? Word provides an easy way you can scale the horizontal appearance of ...

Discover More

Engraving Text

Word allows you to format your text in a number of different ways. One rather esoteric way to format your text is by ...

Discover More

Replacing Quoted Text with Italics

If you have text surrounded by quotes in a document, you may want to remove the quote marks and make the text that was within ...

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}] 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.

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!)


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.

Newest Tips
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.