Share via


Font.Name Property

Word Developer Reference

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.

Visual Basic for Applications
  With Selection.Font
    .Name = "Arial"
    .Bold = True
End With

See Also