G
greg
Hello, I am a newbie to MS Project. And I have a basic question.
I have 3 levels. Where each one is indented.
Task1
Task2
Task3
I am trying to figure out how to know this programmatically. I can see the
following:
ThisProject.Tasks.Count = 3
ThisProject.Tasks(1).type = 1
ThisProject.Tasks(2).type = 1
ThisProject.Tasks(3).type = 0
ThisProject.Tasks(1).name = task1
ThisProject.Tasks(2).name = task2
ThisProject.Tasks(3).name = task3
So it looks like type = 1 is a group. And type = 0 is an actual task.
But I am trying to figure out how to know that task1 is the first level,
task2 is the second and task3 is the task. And how to programmatically
gather the level information.
Any help would be appreciated
Thanks,
I have 3 levels. Where each one is indented.
Task1
Task2
Task3
I am trying to figure out how to know this programmatically. I can see the
following:
ThisProject.Tasks.Count = 3
ThisProject.Tasks(1).type = 1
ThisProject.Tasks(2).type = 1
ThisProject.Tasks(3).type = 0
ThisProject.Tasks(1).name = task1
ThisProject.Tasks(2).name = task2
ThisProject.Tasks(3).name = task3
So it looks like type = 1 is a group. And type = 0 is an actual task.
But I am trying to figure out how to know that task1 is the first level,
task2 is the second and task3 is the task. And how to programmatically
gather the level information.
Any help would be appreciated
Thanks,