See Also Applies To
Marks the task as completed. Sets PercentComplete to "100%", Complete to True, and DateCompleted to the current date.
Syntax
objTaskItem.MarkComplete
objTaskItem Required. An expression that returns a TaskItem object.