Share via


SplitParts.Add Method (Project)

Adds a SplitPart object to a SplitParts collection.

Syntax

expression .Add(StartSplitPartOn, EndSplitPartOn)

expression A variable that represents a SplitParts object.

Parameters

Name

Required/Optional

Data Type

Description

StartSplitPartOn

Required

Variant

The start date of the task portion.

EndSplitPartOn

Required

Variant

The end date of the task portion. If EndSplitPartOn is on or before the date specified with StartSplitPartOn, the portion is not created.

Remarks

If creating a new task portion would overlap any other portions in the same task, the non-coincident portions are added to the existing portion.

See Also

Concepts

SplitParts Collection Object