Font2 object (Office)

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

Example

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 

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.