Highlighting Found Text

by Allen Wyatt
(last updated September 1, 2018)

3

When Wayne uses the Find feature of Word to locate text in his document, he can have it highlight all instances of whatever it is that he's searching for. This is great, but Wayne would like the highlighting to be permanent, so that it doesn't go away as he makes additional edits in the document. He wonders if there is a way to search for something and apply the highlighter to all instances of what is found.

This is actually easier to do than you might, at first, presume. You cannot do it, however, simply using the Find feature—you must use Find and Replace by following these steps:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. Click the More button, if it is available. Word expands the Find and Replace dialog box. (See Figure 1.)
  3. Figure 1. The Replace tab of the Find and Replace dialog box.

  4. In the Find What box, enter the text you want to find and highlight.
  5. In the Replace With box, enter ^&. This informs you Word that you want to replace whatever is found with whatever it is that you actually found (the contents of the Find What box).
  6. With the insertion point still in the Replace With box, click the Format button. Word expands some options.
  7. Click the Highlight option. The word "Highlight" should now appear under the Replace With box.
  8. Click the Replace All button. Word makes all the changes, effectively adding a permanent highlight to everything you were searching for.
  9. Click the Close button to dismiss the Find and Replace dialog box.

That's it; your highlighting is done. After these steps, the instances of what you searched for are probably highlighted in yellow. If you want a different highlight color, you might try changing the highlight color selected in the Highlight tool on the Home tab of the ribbon before going through the steps. (This may not have an effect on all versions of Word.)

It should also be noted that step 4 is technically optional—you don't need to place ^& in the Replace With box. You could, if desired, simply leave the box blank. I think it is a good "safety feature," however, to place the ^& code in the box, as this can help avoid any potential mistakes that will actually delete what you are searching for.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1270) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 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

Getting Rid of Spreadsheet Panes

When working with different parts of your worksheet at the same time, it is often helpful to utilize panes. Here's how to ...

Discover More

Defining a Custom Paper Size

Need to print your worksheet on a non-standard paper size? Excel is rather limited in printing to such papers, and here ...

Discover More

Adding Borders to Cell Contents

Word allows you to quickly add borders to cells in a table, but you may not know that you can also add borders to the ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

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

Finding and Deleting Rows

Got a table that contains rows you want to delete? Deleting one or two rows in a table is easy; deleting a bunch of rows ...

Discover More

Making Ctrl+F Work Traditionally

One change introduced in Word 2010 was the new navigation pane that is used for simple searching of information. This ...

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}] 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 9 - 6?

2018-09-05 03:12:52

Ken

Wayne

The reason that nothing was highlighted is probably because no color is set for highlighting. The highlight color used by Find & Replace is whatever is shown in the Text Highlight Color icon in the Font group of the Home ribbon. Thus you could highlight one set of words in one color, change the Text Highlight Color and highlight another set of words in the new color.

As for the 808 replacements in 529 words is is most likely because you are replacing characters that might appear more than once in a word.


2018-09-04 13:37:22

PJEF

Wayne, I can't read this, but when I do something like this, I just repeat what it is I want MSWord to find (and highlight, say) exactly as is in the "Replace with" box. If I want to highlight all instances of "And", I would again type in "And" and make sure to select the "match case" and "whole words" boxes. This will ONLY look for "And", and will not edit "and" nor partially edit the first part of "Android". After I repeat the exact text I want to highlight in the "Replace with" box, I click on Format / Highlight.
Was there something in this procedure that you did differently?
Patti


2018-09-01 18:37:03

Wayne C

Thanks for the info (I believe you are responding to a question I posted) but after trying the above steps twice on a Windows computer running Office 365 Business, I found that it didn't work. Something weird happened. In a document with 529 words, I got a message saying that it had made 808 replacements! No words were highlighted. I took a screenshot and will try to attach it.

(see Figure 1 below)

I see that the image is too small to read very well so I will try to attach a cropped image.

Figure 1. Highlighting Issues, Screenshot 2


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.

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