Removal of a start or due dates from a task via macro.

  • 1
  • Question
  • Updated 1 year ago

I know that this can be done manually. However, how can you programmatically remove a start or due dates from a task? I have not been able to find methods or code to eliminate a date.

Photo of Philip Stipcevich

Philip Stipcevich

  • 31 Posts
  • 1 Reply Like

Posted 1 year ago

  • 1
Photo of Nick Duffill

Nick Duffill, Champion

  • 510 Posts
  • 170 Reply Likes
Topic.Task.StartDate = 0
Photo of Philip Stipcevich

Philip Stipcevich

  • 31 Posts
  • 1 Reply Like

Work well. I also see that removal of progress can be achieved by Topic.Task.Complete = -1

This helps tremendously with my custom export/import scripts where I create delimited files from map content of interest and then convert to Excel for update from various teams. These settings allow me to close the loop when I do not get dates back, etc 

Many thanks Nick!