Application.InsertMilestoneTask method (Project)
Inserts a new milestone task above the selected task row or cell in a Gantt chart.
Syntax
expression. InsertMilestoneTask
expression An expression that returns an Application object.
Return value
Boolean
Remarks
The milestone task has a duration of 0 days and is of the default mode (automatically or manually scheduled). The InsertMilestoneTask method corresponds to the Milestone command in the Insert group of the Task tab on the Ribbon.
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.