Selectively Find and Replace Page Borders

by Allen Wyatt
(last updated April 2, 2016)

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, and 2016.

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

Using Named Formulas Across Workbooks

You can use the naming capabilities of Excel to name both ranges and formulas. Accessing that named information in a workbook ...

Discover More

Ignoring Words Containing Numbers

If your writing often contains words that include numbers, you'll want to make sure you set up the spelling checker to ignore ...

Discover More

Creating Worksheets with a Macro

Using a macro to add worksheets to your workbook is easy. This tip provides two different methods you can use.

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)

Using Search Text in the Replacement

When you use the Find and Replace tool in Word, you may want to include what you searched for in the replacement text. That's ...

Discover More

Counting a Particular Word

Need to know how many times a particular word appears in a document? Here's a handy trick that will tell you the count, using ...

Discover More

Removing HTTP from URLs

Having problems when it comes to replacing information in URLs? You're not the only one; it can be confusing making mass ...

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 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 7 - 1?

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.

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.