Export (0) Print
Expand All

Font2 Object (Office)

Contains font attributes (for example, font name, font size, and color) for an object.

The following example changes the formatting of the Heading 2 style in the active document to Arial and bold.

With ActiveDocument.Styles(wdStyleHeading2).Font2 
 .Name = "Arial" 
 .Italic = True 
End With 

Show:
© 2015 Microsoft