DefaultHighlightColorIndex Property Example

This example sets the default highlight color to bright green. The new color doesn't apply to any previously highlighted text.

Options.DefaultHighlightColorIndex = wdBrightGreen

This example returns the current default highlight color index.

temp = Options.DefaultHighlightColorIndex