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

Rechecking Spelling and Grammar

If you ever need to check the spelling or grammar of a document from scratch, it can be confusing knowing the proper ...

Discover More

Passing Parameters to Functions

Functions can be used to perform repetitive tasks and return values to your main program. You can also pass values to a ...

Discover More

Pop-Up Comments for Graphics

Excel allows you to add comments to individual cells in a worksheet, but what if you want to add comments to graphics? ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Deleting Regular Text between Bold Text

Word makes it easy, using Find and Replace, to replace or delete information based on its formatting. Whether this ...

Discover More

Count of Underlined or Struck-Through Words

When working with documents (particularly those prepared by others) it is not unusual to need to count words that possess ...

Discover More

Changing the Formatting of All Instances of a Word

Need to find all the instances of a particular word and change the formatting of those instances? It's easy to do using ...

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 seven minus 7?

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.