Is summary task collapsed?

J

John

Yoav said:
Is there an indication whether the summary task is collapsed or expended?

Yoav,
When you say "indication", I assume you are asking if there is an object
property indicating if the summary is collapsed or not. No, there is
not. However, you can get that information indirectly by using an active
selection on the current view and then looping though the selected tasks
while tracking the task ID from summary line to summary line. If ID
values are missing, you know the summary is collapsed.

John
Project MVP
 
Y

Yoav

John,
Thanks for the answer.
What if there are external tasks? those tasks are not shown in a Master
project.
 
J

Jack Dahlgren

I believe that external tasks still take up a line number so if you notice a
gap you can find check the next sequential ID task and if it is external then
go to the next

if task.external then
....


Jack Dahlgren
 
J

John

Yoav said:
John,
Thanks for the answer.
What if there are external tasks? those tasks are not shown in a Master
project.

Yoav,
You're welcome.

Unfortunately the option to show external predecessors and successors
(Tools/Options/View tab) is not consistently reliable. Sometimes the
ghost tasks will appear in a master file and sometimes they won't.
However, Jack's response provides the answer.

John
Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top