Share via


Task.Top Property (Word)

Returns or sets the vertical position, in points, of the specified window. Read/write Long.

Syntax

expression .Top

expression Required. A variable that represents a Task object.

Example

This example starts the Calculator and positions its window 100 points from the top of the screen.

Shell "Calc.exe" 
With Tasks("Calculator") 
 .WindowState = wdWindowStateNormal 
 .Top = 100 
End With

See Also

Concepts

Task Object Members

Task Object