Task Object Members

Word Developer Reference

Represents a single task running on the system. The Task object is a member of the Tasks collection. The Tasks collection includes all the applications that are currently running on the system.

Methods

  Name Description
Bb257975.methods(en-us,office.12).gif Activate Activates the Task object.
Bb257975.methods(en-us,office.12).gif Close Closes the specified task.
Bb257975.methods(en-us,office.12).gif Move Positions a task window.
Bb257975.methods(en-us,office.12).gif Resize Sizes the specified task window.
Bb257975.methods(en-us,office.12).gif SendWindowMessage Sends a Windows message and its associated parameters to the specified task.

Properties

  Name Description
Bb257975.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257975.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257975.properties(en-us,office.12).gif Height Returns or sets the height of the specified task window. Read/write Long.
Bb257975.properties(en-us,office.12).gif Left Returns or sets a Long that represents the horizontal position of the specified task, measured in points. Read/write.
Bb257975.properties(en-us,office.12).gif Name Returns the name of the specified object. Read-only String.
Bb257975.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Task object.
Bb257975.properties(en-us,office.12).gif Top Returns or sets the vertical position, in points, of the specified window. Read/write Long.
Bb257975.properties(en-us,office.12).gif Visible True if the specified object is visible. Read/write Boolean.
Bb257975.properties(en-us,office.12).gif Width Returns or sets the width of the specified Task object, in points. Read/write Long.
Bb257975.properties(en-us,office.12).gif WindowState Returns or sets the state of the specified document window or task window. Read/write WdWindowState.