Task.UniqueIDPredecessors property (Project)

Gets or sets the unique identification (UniqueID) numbers of the predecessors of a task, separated by the list separator. Read/write String.

Syntax

expression. UniqueIDPredecessors

expression A variable that represents a Task object.

Remarks

If a task has two predecessor tasks with the UniqueID values of 9 and 10, for example, the UniqueIDPredecessors value is "9,10".

Note

UniqueID values remain constant within a project and don't necessarily match the task ID values that can change with the position of the task in the outline or as tasks are deleted and added.

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.