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, Word in Microsoft 365, and 2021


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, Word in Microsoft 365, and 2021.

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

Large Numbers in the MOD Function

There is a known bug in the MOD function that stops it from working with large numbers and small divisors. This tip ...

Discover More

Replacing the Last Comma

When you need to perform certain editing tasks over and over again, you start to look for ways to make your work faster ...

Discover More

Determining if Caps Lock is On

If your macro needs to determine the status of the Caps Lock key, you need the code in this tip. Just use the Information ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Finding Text Using a Specific Highlighting Color

If you use the highlighter tool extensively, you may want to search for text that is highlighted using a particular ...

Discover More

Replacing Hidden Text

Word allows you to format text so it can be easily hidden from view and from printing. If you want to convert the hidden ...

Discover More

Counting a Particular Word

Need to know how many times a particular word appears in a document or a portion of a document? Here's a handy trick that ...

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