Window.Left property (Word)

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.

With ActiveDocument.ActiveWindow 
 .WindowState = wdWindowStateNormal 
 .Left = 100 
 .Top = 0 
End With

See also

Window Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.