Resize Method

See Also         Example         Applies To

Sizes the Word application window or the specified task window. If the window is maximized or minimized, an error occurs.

Note   Use the Width or Height property to set the window width and height independently.

Syntax

expression.Resize(Width, Height)

expression   Required. An expression that returns an Application or Task object.

Width   Required Long. The width of the window, in points.

Height   Required Long. The height of the window, in points.