Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Application.StandardFont Property

Office 2007
Returns or sets the name of the standard font. Read/write String.

Syntax

expression.StandardFont

expression   A variable that represents an Application object.

Remarks

If you change the standard font by using this property, the change doesn't take effect until you restart Microsoft Excel.

Example

This example sets the standard font to Geneva (on the Macintosh) or Arial (in Windows).

Visual Basic for Applications
If Application.OperatingSystem Like "*Macintosh*" Then
    Application.StandardFont = "Geneva"
Else
    Application.StandardFont = "Arial"
End If



Community Additions

ADD
Show:
© 2015 Microsoft