Skip to content

Task Summary Name field in Task Views (MSP2007)

Tony McClennonMember for 23 years 10 months
Created
4
5
0

Hi,

I'm trying to create a view showing tasks that are in work or due to start over the next three months, but leaving the summary tasks in makes the view quite confusing. I am trying to show the summary task name in a separate filed alongside the task name. Currently, the solution I have is to use a test field and manually copy the summary task names into it.

However, just wondering if it is possible to make the "Task Summary Name" field available in the Task Views? In MSP2007, it appears to be only available in the Resource Views.

Many thanks.

4 replies

Oldest first
  1. 0
    Evgeny Z. ·

    Tony,the only solution I can

    Tony,

    the only solution I can think of is to write a Macro in Visual Basic for Applications, which would walk throught all tasks and would fill in the custom field with the name of the summary task, using the OutlineParent Property of a task.

    http://msdn.microsoft.com/en-us/library/office/aa207578(v=office.11).aspx

    Regards.

    Evgeny

  2. 0
    Tony McClennon ·

    Thanks for the link - will

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

  3. 0
    Evgeny Z. ·

    Tony,I just had few minutes

    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

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

  4. 0
    Tony McClennon ·

    Many thanks for looking at

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

Log in or join to reply

ProjectControls.com is free to join. Members can post questions, reply, vote and follow discussions.

Existing members: your original username and password still work. Forgot password?