Edit

Share via


Font.Name property (Word)

Returns or sets the name of the specified object. Read/write String.

Syntax

expression.Name

expression Required. A variable that represents a Font object.

Example

This example formats the selection as Arial bold.

With Selection.Font 
 .Name = "Arial" 
 .Bold = True 
End With

See also

Font 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.