ChartObject.Width property (Excel)

Returns or sets a Double value that represents the width, in points, of the object.

Syntax

expression.Width

expression A variable that represents a ChartObject object.

Example

This example sets the width of the embedded chart.

Worksheets("Sheet1").ChartObjects(1).Width = 360

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.