AutoScaleFont property (Excel Graph)

True if the text in the object changes font size when the object size changes. The default value is True. Read/write Variant.

Syntax

expression.AutoScaleFont

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example adds a title to the chart, and it causes the title font to remain the same size whenever the chart size changes.

With myChart 
 .HasTitle = True 
 .ChartTitle.Text = "1996 sales" 
 .ChartTitle.AutoScaleFont = False 
End With 

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.