Application.StandardFont property (Excel)
Returns or sets the name of the standard font. Read/write String.
expression A variable that represents an Application object.
If you change the standard font by using this property, the change doesn't take effect until you restart Microsoft Excel.
This example sets the standard font to Geneva (on the Macintosh) or Arial (in Windows).
If Application.OperatingSystem Like "*Macintosh*" Then Application.StandardFont = "Geneva" Else Application.StandardFont = "Arial" End If
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.