Options.DefaultHighlightColorIndex Property
Word Developer Reference |
Returns or sets the color used to highlight text formatted with the Highlight button (Formatting toolbar). Read/write WdColorIndex.
Syntax
expression.DefaultHighlightColorIndex
expression Required. A variable that represents an Options collection.
Example
This example sets the default highlight color to bright green. The new color doesn't apply to any previously highlighted text.
Visual Basic for Applications |
---|
|
This example returns the current default highlight color index.
Visual Basic for Applications |
---|
|
See Also