Window.Width property (Excel)

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

Syntax

expression.Width

expression A variable that represents a Window object.

Remarks

Use the UsableWidth property to determine the maximum size for the window. You cannot set this property if the window is maximized or minimized. Use the WindowState property to determine the window state.

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.