Compartilhar via


Window.Left Property

Word Developer Reference

Returns or sets a Long that represents the horizontal position of the specified window, measured in points. Read/write.

Syntax

expression.Left

expression   Required. A variable that represents a Window object.

Example

This example sets the horizontal position of the active window to 100 points.

Visual Basic for Applications
  With ActiveDocument.ActiveWindow
    .WindowState = wdWindowStateNormal
    .Left = 100
    .Top = 0
End With

See Also