Task.DurationText property (Project)

Gets or sets a string representation of the task duration. Read/write String.

Syntax

expression. DurationText

expression An expression that returns a Task object.

Remarks

The DurationText property is used for manually scheduled tasks. When you convert a manually scheduled task to an auto-scheduled task, if DurationText has any value, you should convert the value to a date for the Duration property.

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.