Width Property

Microsoft Graph Visual Basic

Width Property

       

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.

expression.Width

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

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