3
3326ubb
Hi all,
Using MSP'98.
For a relatively large project schedule, I have a simple macro which
gets executed as project opens. This macro is supposed to hide all
sub-tasks of the summary which is 100% complete, but does it only for
first summary task. Next summary tasks which are 100% complete, remain
as it is. What is wrong in macro ?
Sub HIDE()
Dim t as Task
For each t In ActiveProject.Tasks
If t.PercentComplete=100 Then
t.OutlineHideSubTasks
End If
Next t
End Sub
Help please !
Using MSP'98.
For a relatively large project schedule, I have a simple macro which
gets executed as project opens. This macro is supposed to hide all
sub-tasks of the summary which is 100% complete, but does it only for
first summary task. Next summary tasks which are 100% complete, remain
as it is. What is wrong in macro ?
Sub HIDE()
Dim t as Task
For each t In ActiveProject.Tasks
If t.PercentComplete=100 Then
t.OutlineHideSubTasks
End If
Next t
End Sub
Help please !