Range.HighlightColorIndex Property
Word Developer Reference |
Returns or sets the highlight color for the specified range. Read/write WdColorIndex.
Syntax
expression.HighlightColorIndex
expression Required. A variable that represents a Range object.
Example
This example removes highlight formatting from the selection.
Visual Basic for Applications |
---|
|
This example applies yellow highlighting to each bookmark in the active document.
Visual Basic for Applications |
---|
|
See Also