ColorIndexBi Property

Microsoft Word Visual Basic

Show All

ColorIndexBi Property

       

Returns or sets the color for the specified Font object in a right-to-left language document. Read/write WdColorIndex.

WdColorIndex can be one of these WdColorIndex constants.
wdAuto
wdBlack
wdBlue
wdBrightGreen
wdByAuthor
wdDarkBlue
wdDarkRed
wdDarkYellow
wdGray25
wdGray50
wdGreen
wdNoHighlight
wdPink
wdRed
wdTeal
wdTurquoise
wdViolet
wdWhite
wdYellow

expression.ColorIndexBi

expression   Required. An expression that returns a Font object.

Remarks

The wdByAuthor constant is not valid for Font objects.

For more information on using Microsoft Word with right-to-left languages, see Word features for right-to-left languages.

Example

This example sets the color of the Font object to teal.

Selection.Font.ColorIndexBi = wdTeal