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

Letters and Numbers in Page Numbers

A common task is to add page numbers to document headers and footers. If you want those page numbers to include more than ...

Discover More

Anchoring Comment Boxes in Desired Locations

Want your comment boxes to appear someplace other than the right side of a cell? You may be out of luck, and here's why.

Discover More

Filtering Columns

The filtering tools provided in Excel make it easy to filter a data list so that only certain rows are displayed. What if ...

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)

Replacing Multiple Spaces with Tabs

If you get a document or some text that has multiple consecutive spaces used to align information, you'll undoubtedly be ...

Discover More

Getting Rid of Trailing Spaces in Footnotes and Endnotes

The Find and Replace tool can get rid of trailing spaces in paragraphs quite nicely. If those spaces are at the end of ...

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
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-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.