Window.Height property (Excel)

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

Syntax

expression.Height

expression A variable that represents a Window object.

Remarks

Use the UsableHeight 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.