Adding a Border around Multiple Paragraphs

by Allen Wyatt
(last updated October 17, 2015)

3

Marc is trying to put a border around some text in his document. The text consists of multiple paragraphs, including a lead-in paragraph followed by a bulleted list. Marc doesn't get a nice, simple border around the text, though. It appears that the border is "broken" whenever he changes the indent on the bulleted list paragraphs. Marc wonders if there is a way to simply border all the paragraphs in the text selection.

The reason that this happens is that the borders you add to a paragraph are always added relative to the paragraph margins. (You can see this if you select a paragraph, display the Borders and Shading dialog box, and then click on Options.) When you change the margins for a paragraph—as is done if you have a bulleted or numbered list—then the position of the border on those paragraphs will be different than it is for the surrounding paragraphs.

The best way to handle this situation is to create some sort of object that can possess a border (such as a single-cell table, a text box, a frame, or a shape) and then place the text inside that object. You can easily adjust the position of the object so that the text aligns properly relative to other text in the document. Then you can format the object so that it has the type of border you desire.

The only drawback to this approach is that the text within the object is limited in some respects. For instance, you can't add footnotes or endnotes to the text, nor can the text be referenced by comments. As you are deciding upon the type of object to use, you'll want to pay attention to your page layout, as not all objects flow smoothly when it comes to spanning page breaks. If you think your text might span a page break, you'll want to consider using either the single-cell table approach or use two linked text boxes.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13404) applies to Microsoft Word 2007, 2010, and 2013.

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

Deleting Commented Text

Word allows you to add comments to your document to aid in the development of the document. At some point you may want to ...

Discover More

Determining Differences Between Dates

Macros are often used to process the data in a worksheet. If that data includes dates that need to be processed, you'll ...

Discover More

Making VLOOKUP Case Sensitive

The VLOOKUP function, like other lookup functions in Excel, is not case sensitive. In other words, it doesn't matter whether ...

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 (ribbon)

Forcing a Page Break Before a Paragraph

There are times that you just want to begin a paragraph (perhaps a heading) at the top of a new page. Word allows you to ...

Discover More

Characters in the Margin Next to Paragraphs

Laying out a document can be, at times, a challenge. This is particularly the case when you need some special document ...

Discover More

Understanding Leading

Those with a publishing, typographic, or design background may understand what leading is, but not how to adjust the setting ...

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

2015-10-19 09:40:16

Philip Ulanowsky

It is possible to create a paragraph style that includes a border, so that one can create a regular paragraph style and a bulleted one with eh same border, which will not break. Custom indents are required to align with non0bordered text above and below.
Some extra steps, however, are required for a second level of bulleting.


2015-10-19 09:38:08

Jennifer Thomas

In many cases, you can use a line break (a.k.a. soft return) to keep on paragraph border around multiple lines.

If not, I use @Nick Shears' text box trick, but the addition of sending the text box to back and locking the anchor.

Anchor lock takes a few clicks to get to, natively, but this macro is handy if you use shapes/objects a lot -- add it to your toolbar/ribbon to toggle locks on & off:

Sub ToggleShapeAnchor()
If Selection.Type = wdSelectionShape Then
For Each Shape In Selection.ShapeRange
Shape.LockAnchor = Not Shape.LockAnchor
Next
End If
End Sub


2015-10-18 20:29:36

Nick Shears

Here's what I usually do:
1. Add a text box, sized to surround the text neatly.
2. Set its transparency to 100%.
3. Anchor it to the first line it's bordering.

If the amount or size of text before the "border" increases or decreases, the border moves with its text.

But of course if I edit the bordered text text itself, I may need to adjust the size of the text box accordingly.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu 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.