Application.SelectTaskCell method (Project)

Selects a cell containing task information.

Syntax

expression. SelectTaskCell( _Row_, _Column_, _RowRelative_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Row Optional Long The row number (RowRelative is False) or the relative row position (RowRelative is True) of the cell to select.
Column Optional String The field name of the cell to select.
RowRelative Optional Boolean True if the row number is relative to the active cell. The default value is True.

Return value

Boolean

Remarks

Using the SelectTaskCell method without specifying any arguments retains the current cell as the active cell. The SelectTaskCell method is only available when the Gantt Chart, Task Sheet, or Task Usage view is the active view.

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.