Height Property

Applies To

Window object.

Description

Returns or sets a Single containing the height of the window in twips. Read/write.

Remarks

Changing the Height property setting of a linked window or docked window has no effect as long as the window remains linked or docked.

See Also

Left property, Top property, Width property.

Example

The following example uses the Height and Width properties to return the height and width of the specified window, in twips. These property settings change after a window is linked or docked because then they refer to the Window object to which the original window is linked or docked.

Debug.Print Application.VBE.Windows(9).Height
Debug.Print Application.VBE.Windows(9).Width