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
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.