SizeWithWindow Property
Applies To
Chart object.
Description
True if Microsoft Excel resizes the chart to match the size of the chart sheet window. False if the chart size isn't attached to the window size. Applies only to chart sheets (doesn't apply to embedded charts). Read/write Boolean.
See Also
ChartSize property.
Example
This example sets Chart1 to be sized to its window.
Charts("Chart1").SizeWithWindow = True