Edit

Share via


Style.Font property (Word)

Returns or sets a Font object that represents the character formatting of the specified style. Read/write Font.

Syntax

expression.Font

expression A variable that represents a 'Style' object.

Remarks

To set this property, specify an expression that returns a Font object.

Example

This example removes bold formatting from the Heading 1 style in the active document.

ActiveDocument.Styles(wdStyleHeading1).Font.Bold = False

See also

Style Object

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.