Replacing Highlighted Words

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


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, 2021, and Word in Microsoft 365.

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 Revision Tracking

Want to keep track of the changes other people make to your workbook or even your own changes? Excel makes gathering this ...

Discover More

Shortcut for Full Screen Reading View

Want to get rid of almost everything on the screen except your document? Here's how to easily maximize what you see.

Discover More

Entering Dates without Separators

When doing data entry into a worksheet, you might want to enter dates without the need to type the separators that are ...

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)

Replacing a Colon in a Sequence

Sometimes you'll run across the need to replace a very specific sequence of characters in your document. It is for these ...

Discover More

Removing HTML Tags from Text

HTML tags are great when you want to display information on a web page. They are not so great when you have them in a ...

Discover More

Searching for Special Characters

When using the Find and Replace feature of Word, you can search for more than plain text. You can also search for ...

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 0 + 7?

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.