Font.Name property (Publisher)

Indicates the name of the specified font. Read/write.

Syntax

expression.Name

expression An expression that returns a Font object.

Return value

String

Example

This example formats a text frame on page one as Arial bold.

With ActiveDocument.Pages(1).Shapes(1) _ 
 .TextFrame.TextRange.Font 
 .Name = "Arial" 
 .Bold = True 
End With 

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.