none
ActiveProject.Tasks.Add RRS feed

  • Question

  • Hello,

    what are correct parameters for add function? I want to add new task named XXX on 2nd position. But this code makes error:

      Dim MT As Task
      Set MT = ActiveProject.Tasks.Add(Name = "XXX", Before = 2)

    when I do not fill Before parameter, it works correctly but put tast on the end. How can I put task on selected position?

    Thursday, May 3, 2012 12:56 PM

All replies