Font.Color Property
Word Developer Reference |
Returns or sets the 24-bit color for the specified Font object. Can be any valid WdColor constant or a value returned by Visual Basic's RGB function.
Syntax
expression.Color
expression Required. A variable that represents a Font object.
Example
This example changes the color of the text in the first paragraph of the active document to green.
Visual Basic for Applications |
---|
|
This example changes the color of the selected text to dark red.
Visual Basic for Applications |
---|
|
See Also