Replacing Highlighted Words

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


1

David has a number of Word documents where the essential words have been highlighted using the yellow "text highlight color." What he needs to do is replace all the highlighted words with an underlined version of the same word with a font size change and also remove the highlight color, all at the same time. David wonders if there is a way to accomplish this task.

Yes, the Find and Replace feature in Word is powerful enough to do this all in a single pass. Before doing so, however, you may want to save your document just in case something goes wrong during the replacing operation. Once that is done, here are the steps you need to follow:

  1. Press Ctrl+H to display the Replace tab of the Find and Replace dialog box.
  2. Click the More button, if it is available.
  3. The insertion point should be blinking in the Find What box, which should be empty. (See Figure 1.)
  4. Figure 1. The Replace tab of the expanded Find and Replace dialog box.

  5. Click the No Formatting button, if it is available.
  6. Click the Format button and choose Highlight. The word "Highlight" appears under the Find What box.
  7. Click in the Replace With box and make sure it is empty.
  8. Click the Format button and choose Highlight. The word "Highlight" appears under the Replace With box.
  9. Click the Format button and choose Highlight a second time. The word "Highlight" changes to "Not Highlight."
  10. Click the Format button and choose Font. Word displays the Font tab of the Replace Font dialog box.
  11. Use the controls in the dialog box to choose the desired font size and underline.
  12. Click OK to close the Replace Font dialog box.
  13. Click Replace All.

There is a variation on the above steps that you can also use, if desired:

  1. If you are using Word 2007, press Ctrl+F. Word displays the Find tab of the Find and Replace dialog box. If you are using a later version of Word, press Ctrl+H to display the Find and Replace dialog box, then click the Find tab.
  2. Click the More button, if it is available.
  3. Make sure the Find What box is empty.
  4. Click the No Formatting button, if it is available.
  5. Click the Format button and choose Highlight. The word "Highlight" appears under the Find What box.
  6. Click the Find In drop-down list and choose Main Document. Word selects all instances of highlighted text in the document.
  7. Click Close. Everything that is highlighted should still be selected in the document.
  8. Use the tools on the Home tab of the ribbon to select a font, font size, and underline. All of the selected words are formatted according to your choices.
  9. Using the Highlight tool on the Home tab of the ribbon, clear the highlighting.

Note that it is important to do step 9 last, as clearing the highlighting "unselects" all the words that were selected in step 6. Interestingly, doing the other formatting changes (step 8) doesn't unselect the words.

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

Summing a Table Column

Need to add a sum to a column of figures in a table? Word makes it relatively easy to provide the sum you need.

Discover More

Inserting Today's Date

When writing letters, reports, or other date-dependent documents, you need to regularly insert the current date in the ...

Discover More

Changing Text Orientation

Word allows you to change the orientation of text contained within certain objects, such as shapes, text boxes, and table ...

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)

Replacements Use an Incorrect Foreign Language Character

When using Find and Replace, it is possible that you might notice some surprising results when the replacements are done. ...

Discover More

Replacing the Space between the Last Two Words of Each Paragraph

Some replacement tasks can seem daunting, but Word provides some great tools for making just about any replacement you ...

Discover More

Searching for Text that Doesn't End a Paragraph

The Find and Replace capabilities of Word are very powerful, particularly if you are using wildcards in your search. ...

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

2022-11-29 05:22:14

Kirill

Hello Allen,

Thank you for all the tips! I would also like to know how to replace with a highlight? In particular, I often get documents in which I have to hide text highlighted with yellow color across several pages in different places. I tried to do it in a find/replace window by ticking a hidden attribute in the text formatting, but when I click replace or replace all it becomes hidden though unhighlighted. No matter if I put Highlight, Not Highlight or leave this attribute empty in the Replace With box. Thanks!


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.