Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 902 Bytes

Excel.AutoScaleFont.md

File metadata and controls

37 lines (26 loc) · 902 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
AutoScaleFont property (Excel Graph)
vbagr10.chm5207069
vbagr10.chm5207069
Excel.AutoScaleFont
cb21d2e7-d3b9-e135-03ba-6d45275d4590
04/09/2019
medium

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 

[!includeSupport and feedback]