Width property (Excel Graph)

As it applies to the Application object, the Width property determines the distance from the left edge of the application window to the right edge of the application window.

For all other objects, the Width property determines the width of the object. Read/write Double for all objects, except for the Chart object, which is read/write Variant.

Syntax

expression.Width

expression Required. An expression that returns one of the above objects.

Remarks

If the window is minimized, Application.Width is read-only and returns the width of the window icon.

Example

This example sets the width of the chart.

myChart.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.