Application.Height Property (Excel)
Returns or sets a Double value that represents tThe height, in points, of the main application window.
If the window is minimized, this property is read-only and refers to the height of the icon. If the window is maximized, this property cannot be set. Use the WindowState property to determine the window state.