HighlightColorIndex Property

See Also         Example         Applies To

Returns or sets the highlight color for the specified range. Can be one of the following WdColorIndex constants: wdNoHighlight, wdBlack, wdBlue, wdBrightGreen, wdDarkBlue, wdDarkRed, wdDarkYellow, wdGray25, wdGray50, wdGreen, wdPink, wdRed, wdTeal, wdTurquoise, wdViolet, wdWhite, or wdYellow. Read/write Long.

Note   Setting this property to wdNoHighlight removes the highlight color (if any) from the specified range.