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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for