Application.StandardFontSize property (Excel)

Returns or sets the standard font size, in points. Read/write Long.

Syntax

expression.StandardFontSize

expression A variable that represents an Application object.

Remarks

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

Example

This example sets the standard font size to 12 points.

Application.StandardFontSize = 12

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.