Please Note:
This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Adding Vertical Lines at the Sides of a Word.

Adding Vertical Lines at the Sides of a Word

Word allows you to easily add all sorts of flourishes to the text in your document. If you want to add vertical lines at the left and right of a word (perhaps for a page title), you can do so easily using any one of several different methods.

One way is to use the "pipe" character before and after your word. On most keyboards the pipe, or vertical bar, is a shifted version of the \ character. Type the pipe, a few spaces, the word, the same number of spaces, and then another pipe character. You can then center the paragraph.

If you are comfortable with the use of fields in a document, you could also try using the pipe character with the EQ field. Just insert a set of field braces (by pressing Ctrl+F9) and then making sure the field looks like this:

{eq \b \bc\| ( myword )}

When you collapse the field you end up with "myword" centered between the pipe characters.

Another method is to simply type your word and then format the paragraph so that it has borders at the left and right sides. Follow these steps:

Make sure the insertion point is within the word for which there should be vertical lines on both sides.

Choose Borders and Shading from the Format menu. Word displays the Borders and Shading dialog box.

Make sure the Borders tab is selected. (See Figure 1.)

Figure 1. The Bordes tab of the Borders and Shading dialog box.

Use the controls in the dialog box to add the desired border to both the left and right sides of the paragraph.

Click on OK.

At this point you should see the borders on both sides of the paragraph. However, they are probably too far from the text, as the paragraph extends all the way from the left margin to the right. (This means that the borders appear at the left and right margins.) Adjust the left and right indents of the paragraph so that the vertical lines move in closer to the center. You can also adjust the other settings for the paragraph formatting (like Space Before and Space After) to get the paragraph exactly where you want it.

You can select the word itself and raise it or lower it in relation to the bordering lines in this manner:

Select the word you want to adjust.

Choose Format | Font to display the Font dialog box.

Make sure the Character Spacing tab is selected. (See Figure 2.)

Figure 2. The Character Spacing tab of the Font dialog box.

Using the Position drop-down list, choose either Raised or Lowered, as desired.

Using the By box (to the right of the Position drop-down list) specify how far, in points, the text should be raised or lowered.

Click OK.

Using the paragraph borders in this manner can require a lot of trial and error to get everything just right. If you use a table instead of a regular paragraph, the positioning is just a bit easier. Simply create a centered single-cell-table and make sure the cell is wide enough to contain the word you want. When you center the word in the table cell, you can then add borders to the left and right sides of the cell. Finally, you'll want to vertically adjust the word within the cell by following these steps:

Make sure that the paragraph within the table cell is formatted so there is no space before or after.

Finally, you could create the desired lines by simply drawing the vertical lines you want. This is particularly helpful if you want the lines to be "fancy" in some way—a way that can only be achieved through using the shapes available in Word. Draw two of the same lines, place your word in a text box, adjust the lines and text box so all elements are in the desired relative positions, and then select all three items and group them. This last step is particularly important since it will ensure that the relative positions of the elements don't move around later.

WordTips is your source for cost-effective Microsoft Word training.
(Microsoft Word is the most popular word processing software in the world.)
This tip (6764) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Adding Vertical Lines at the Sides of a Word.

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

Sheets for Months

One common type of workbook used in offices is one that contains a single worksheet for each month of the year. If you need ...

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)

Finding Missing Fonts

When you open documents that were created a long time ago on a system far, far away (sounds almost epic, doesn't it?), you ...

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

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

2016-09-02 14:35:58

Manuel

Very useful!

2012-11-07 19:30:31

John Pratt

How does one add a border to the left side of the word doc and type one's company info in that space so it is carried throughout the doc? Sort of a "sider" instead of a footer or header. Of course, the "sider" will allow one to have the type appear sideways to the regular typed page (the sider plane of type is perpendicular to the plane of type of the regular page).