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.

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.