Task Summary Name field in Task Views (MSP2007)

Member for

22 years 11 months

Many thanks for looking at the macro - job done!!!

Member for

17 years 9 months

Tony,

I just had few minutes free and has written such a Macro.

I have tested it in MS Project 2003 and works. It is ready to use (just copy and paste it to the right place)

=================================================

Sub SetSummaryTask()

' This function sets the Text1 field of every task

' to a name of it's immediate parent

Dim tsks As Tasks

Dim t As Task

Set tsks = ActiveProject.Tasks

 

For Each t In tsks

If Not t Is Nothing Then

t.Text1 = t.OutlineParent.Name

End If

Next t

End Sub

=================================================

Member for

22 years 11 months

Thanks for the link - will give it a try and fingers crossed I can make it work!!