Table of contents
Collapse the table of content
Expand the table of content

Application.SetTaskMode Method (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Changes the mode of the selected tasks, to manually scheduled or automatically scheduled.


expression. SetTaskMode( ** Manual, ** IsStickyDates )

expression An expression that returns an Application object.


NameRequired/OptionalData TypeDescription
ManualOptionalBooleanIf true, changes the selected tasks to manually scheduled. If false, changes the tasks to automatically scheduled.
IsStickyDatesOptionalBooleanIf true, when a manually scheduled task is changed to automatically scheduled, the constraint type is set to Start No Earlier Than and the constraint date is set to the previous start date.

Return Value



The SetTaskMode method corresponds to the Manually Schedule command and the Auto Schedule command on the TASK ribbon.

© 2018 Microsoft