Protecting Document Areas from Global Replacements

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


1

Fred often needs to use Find and Replace in editing his documents. However, there are certain areas of the documents in which he wants nothing changed. Short of changing those areas to images (which Fred is loath to do), he wonders if there is a way to lock or protect those areas so he can still use global replacing in the rest of the document.

The only way to do this is to place the information you don't want changed into its own section, and then protect that section. Specifically, place a continuous section break just before what you want to protect and then place one just after the information. Then, apply the protection as described in this tip:

https://tips.net/T7071

If your document includes multiple blocks of text that need to be protected, you'll need to mark each of those blocks with section breaks and apply the protection to each of them.

Once successfully completed, you can use Replace All in your document, and the info in protected sections will not be disturbed.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10271) 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

Searching for ASCII and ANSI Characters

Need to get down to the "character level" when searching for information in a document. Word allows you to search for any ...

Discover More

Understanding and Creating Lists

There are two types of common lists you can use in a document: bulleted lists and numbered lists. This tip explains the ...

Discover More

Functions Within Functions

Functions are the heart of Excel's power. The program allows you to compound that power by handily putting one function ...

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)

Quick and Dirty Paragraph Count

Need to know how many paragraphs are in a document? You can use Word's Find and Replace feature to get a count quickly.

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

Finding All Camel-Case Words

If you need to find words that mix uppercase and lowercase characters together, you will appreciate this tip. Here I show ...

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 one less than 9?

2022-06-25 06:57:11

Timothy Rylatt

"The only way to do this is to place the information you don't want changed into its own section, and then protect that section."

This is incorrect. The text can be placed inside a Rich Text Content Control with its properties set to disable editing and deletion.


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.