Share via


SizeWithWindow Property [Excel 2003 VBA Language Reference]

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.

Example

This example sets Chart1 to be sized to its window.

Charts("Chart1").SizeWithWindow = True

Applies to | Chart Object

See Also | ChartSize Property