Table of contents
TOC
Collapse the table of content
Expand the table of content

Font.Name Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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 
© 2018 Microsoft