How to *un* highlight selected text?

Viewed 511

A previous question described how to use .Font.Highlight of TextRange2 to highlight selected text.

How do I remove the highlight?

In particular either of the following...

ActiveWindow.Selection.TextRange2.Font.Highlight.RGB = 0

OR

ActiveWindow.Selection.TextRange2.Font.Highlight = 0

...result in black highlighting instead of no highlighting.

Using False or msoFalse in place of the zeros has the same effect. There doesn't seem to be a Boolean switch to turn highlighting on or off (as there is in Word) and there is no supporting documentation of any kind to be found.

1 Answers
Related