Selectively Find and Replace Page Borders

Written by Allen Wyatt (last updated November 18, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365


David is editing a book of 300+ pages with chapters of varying length. Some chapters have a "floating" graphic frame (a picture) as a border around the text on every page. There are two types of borders, and some chapters have one type, others have a different one. Some chapters have no borders. Each chapter with a border is defined by section breaks. David wonders if there is a simple way to replace the borders for only one set of chapters.

There is, unfortunately, no easy way to do this. True, you can use Find and Replace to locate (and replace) graphics, but you can't instruct it to locate a specific type of graphic. In other words, Find and Replace cannot differentiate between one type of border graphic and the other type of border graphic. You could step through each graphic using Find and Replace and individually make your decision about whether to replace it or not, but such a manual approach could get a bit tiresome with so many graphics in the long document.

Another approach, though, may be to "restructure" your document a bit. For instance, assuming that your floating graphic is actually in the header or footer of your document, you could create a paragraph style that you use for each type of header or footer. One style could be used for one type of border, a second style for the other type of border, and a third style for no border at all. Once organized in this manner, you could easily do a Find and Replace for the specific style, changing graphics used within paragraphs using that style.

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

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

Triple-Spacing Your Document

Print your document with lots of space between each line—triple space it! Here's some quick and easy steps for ...

Discover More

Deriving an Absolute Value

Want to know the absolute value of a number? It's easy to derive in VBA by using the Abs function.

Discover More

Quickly Displaying the Tabs Dialog Box

Setting tabs in a paragraph is a common task. This is most easily done by using the Tabs dialog box. Displaying the ...

Discover More

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

Using Find and Replace to Change Text Case

Can you really use Find and Replace to change the case of text in your document? Not really, but that shouldn't stop you ...

Discover More

Replacing Asterisks with a Footnote

You can use Word's Find and Replace capabilities to replace text (like an asterisk) with a footnote. This tip explains ...

Discover More

Finding Quoted Text in VBA

Macros are created for all sorts of purposes in creating, editing, and processing documents. You might want to use a ...

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 8 + 5?

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

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.