SizeWithWindow Property

Applies To

Chart Object.

Description

True if chart resizes to match the size of the chart sheet window. False if the chart size is not attached to the window size. Applies only to charts that are sheets in a workbook, not to embedded charts. Read-write.

See Also

ChartSize Property.

Example

This example sets Chart1 to be sized to its window.


Charts("Chart1").SizeWithWindow = True