Making Highlighting Disappear when Typing

Written by Allen Wyatt (last updated January 17, 2026)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365


When James applies a highlight color (such as yellow) to a word, the background around that word turns yellow. When he then selects that highlighted word and types a new word over it, the new word appears, but the yellow highlighting remains. To get rid of the yellow highlighting, he must select the word again and "unhighlight" it. Since James has to do this hundreds of times a day, it gets old. He wonders if there is a way to make the highlighting disappear when selecting and typing over a word.

The answer to this depends on the version of Word you are using.

Older Versions of Word

If you are using an older version of Word, then there is no easy way to do this. The reason has to do with your text and the highlighting being on different layers of the document. When you select some highlighted text and start typing, then you are affecting only the layer on which your text resides; the layer on which the highlighting resides is not affected.

There are a few workarounds you can try out, though. One is to simply press the Delete key after you select your text and before you start typing. This does affect both layers, and you can immediately begin typing without the lingering highlight.

A second approach is to use Word's shortcut key that controls highlighting: Ctrl+Alt+H. This shortcut toggles the highlight on whatever text is selected, so it is a quick way to turn the highlight on and off. The drawback to this approach is that pressing Ctrl+Alt+H also unselects whatever text you previously selected, so you will again need to select it before you start typing.

More Recent Versions of Word

In the most recent versions of Word, the answer depends on how you select your text:

  • If you select everything that was previously highlighted and start typing, then the highlighting is removed.
  • If you select just a portion of the highlighted text and start typing, then what you type will also be highlighted.
  • If you select unhighlighted text and some text that is highlighted (a mix of text, with the first part not highlighted) and start typing, then the highlighting is removed.
  • If you select highlighted text and some text that is unhighlighted (a mix of text, with the first part highlighted) and start typing, then what you type is also highlighted.

As in older versions, you can also use the Ctrl+Alt+H approach, but it has the same drawback—whatever you previously had selected is automatically unselected after pressing Ctrl+Alt+H.

More Flexibility

If you want the greatest flexibility, it might be beneficial to use a macro. The purpose of the macro would be to replace the Ctrl+Alt+H approach, but not to unselect the previously selected text. This short macro will work perfectly for this purpose:

Sub RemoveHighlight()
    Options.DefaultHighlightColorIndex = wdNoHighlight
    Selection.Range.HighlightColorIndex = wdNoHighlight
End Sub

Assign this macro to a shortcut key. Then, when you select your highlighted text, you can press the shortcut key and the highlighting is removed from the selected text. You can then begin typing, and the highlighting is not applied to the new text.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

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

Personal.xls File Not Opening

The Personal.xls workbook is used primarily to store macros that you want available through all of your workbooks. ...

Discover More

Sorting while Ignoring Leading Characters

Want to ignore some characters at the beginning of each cell when sorting? The easiest way is to simply create other ...

Discover More

Digital Signatures for Macros

The security features built into Excel allow you to digitally sign your macros so that users can rest assured that they ...

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 2019. Spend more time working and less time trying to figure it all out! Check out Word 2019 For Dummies today!

More WordTips (ribbon)

Breaking Into Sentences

Macros allow you to easily extend what you can do with Word. If you have a common editing task, that task can often be ...

Discover More

Deleting a Final Blank Page

When creating a document, if can be frustrating to have a blank page somehow appear at the end of the document. If you ...

Discover More

Dealing with Run-On Sentences

A common task when editing documents is to break up run-on sentences. You can make this task a little easier by using the ...

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 seven more than 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.