Application.Width Property

Word Developer Reference

Returns or sets the width of the application window, in points. Read/write Long.

Syntax

expression.Width

expression   A variable that represents an Application object.

Example

This example sets the width and height of the Microsoft Word application window.

Visual Basic for Applications
  With Application
    .WindowState = wdWindowStateNormal
    .Width = 500
    .Height = 400
End With

See Also