TextRange.Font Property
Publisher Developer Reference |
Sets or returns a Font object that represents character formatting attributes applied to the specified object. Read/write.
Syntax
expression.Font
expression A variable that represents a TextRange object.
Example
This example selects text and formats the font as bold.
Visual Basic for Applications |
---|
|
See Also