Window.Height Property
Word Developer Reference |
Returns or sets the height of the window. Read/write Long.
Syntax
expression.Height
expression A variable that represents a Window object.
Remarks
You cannot set this property if the window is maximized or minimized. Use the UsableHeight property of the Application object to determine the maximum size for the window. Use the WindowState property to determine the window state.
Example
This example changes the height of the active window to fill the application window area.
Visual Basic for Applications |
---|
|
See Also