HighlightColorIndex Property Example

This example removes highlight formatting from the selection.

Selection.Range.HighlightColorIndex = wdNoHighlight

This example applies yellow highlighting to each bookmark in the active document.

For Each abookmark In ActiveDocument.Bookmarks
    abookmark.Range.HighlightColorIndex = wdYellow
Next abookmark