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

Increasing Space between Numbers and Text in a List

You can easily create numbered lists in your document. Most versions of Word even allow you to modify the distance ...

Discover More

Opening a Word Document when Starting the Computer

Some people use their computers for little else, other than to work on Word documents. If that is the case with you, then ...

Discover More

Stopping Validated Data from being Overwritten

Data Validation is a great tool to make sure that data entered in a cell meets whatever criteria you decide. Its ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Searching for Items in an Automatically Numbered List

The Find and Replace capabilities of Word can be very powerful, but there are some things you cannot search for. One such ...

Discover More

Controlling Case in Find and Replace

When using Find and Replace, how Word handles the case of letters in replacements can be confusing. It needn't be, if you ...

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
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 nine minus 9?

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.