Left Property
Applies To
Window object.
Description
Returns or sets a Single containing the location of the left edge of the window on the screen in twips. Read/write.
Remarks
The value returned by the Left property depends on whether or not the window is linked or docked.
Note Changing the Left property setting of a linked or docked window has no effect as long as the window remains linked or docked.
See Also
Height property, Top property, Width property.
Example
The following example uses the Left and Top properties to return the coordinates of the upper-left corner of a particular 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).Left
Debug.Print Application.VBE.Windows(9).Top