Keyboard command to remove text highlighted with the highlighter p

  • Thread starter Thread starter Guest
  • Start date Start date
There isn't a built-in keyboard shortcut for this, but you can
create a macro to remove the highlight from selected text, and
assign the macro to the keyboard shortcut of your choice. The
macro might look like:

Sub DeleteHighlightMacro()
Selection.Range.HighlightColorIndex = wdNoHighlight
End Sub

See http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm for
more information.
 
Does such a keyboard command exist?

Thanks,

Sharon

No, there is no single keyboard command. You have to use the Replace
dialog.

In the dialog, click the More button. Click in the Find What box.
Click the Format button and select Highlight from the menu that
appears. Then click the Replace All button.

You can record this operation and assign the resulting macro to a
keyboard shortcut. See these articles for instructions:
http://www.word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm
http://www.word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm
 
Thanks Jay,

That's the procedure I've been using but I was really hoping there might be
a buried "Select All" plus keyboard manipulation. Guess there's a good reason
why not.

All the best,

Sharon
 
Thanks for that info. I'd searched *everywhere* for the keyboard shortcut so
that solves that little problem. Your response much appreciated.

Sharon
 
There is a sort of Select All. In the Find dialog (not in Replace), there's
a check box for "Highlight all items found." Using this, you can search for
highlighted text and, for example, change the color of the highlight (which
you *can't* do with the Replace dialog).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top