Application.SplitTask Method (Project)

Enters the interactive task split mode, enabling the user to manually create task splits.

Syntax

expression .SplitTask(Lock)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Lock

Optional

Boolean

True if the task split pointer stays active after a split is made, enabling more task splits to be made. False if the pointer returns to normal after making a split. The default value is False.

Return Value

Boolean

Remarks

The SplitTask method requires user interaction before additional code can be executed. The SplitTask method is only available in Gantt views; it corresponds to the Split Task icon on the Task tab of the Ribbon.