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, and 2016.

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

Adding Gridlines to a Table

You can easily add borders to your table cells. This tip shows you how.

Discover More

Turning Off Background Repagination

When you use Word, it normally performs several tasks in the background, while you are typing. One of those tasks is to ...

Discover More

Massive Printouts

Have you ever wanted to do a simple printout, only to find that Excel spit out dozens of pages, and most of them were ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Changing Decimal Commas to Decimal Points

If you have a document that was produced in a country where decimal commas are used instead of decimal points, you may be ...

Discover More

Finding and Replacing Text Boxes

The Find and Replace capabilities of Word are very powerful, but they still come up a bit short when searching for some ...

Discover More

A Fast Find-Next

Want a quick, easy way to "search again" for the next occurrence of what you need? Use the technique in this tip and ...

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 3 + 8?

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.