Forum Discussion

LisaJanssen's avatar
LisaJanssen
Copper Contributor
Mar 14, 2024
Solved

Timeline

Hi,  I am new to using Microsoft Project.   I have combined 2 projects into a master file.  I would like to create a timeline, but I need to add the summary name to task.   Both my projects have ...
  • John-project's avatar
    John-project
    Mar 14, 2024
    LisaJanssen,
    This should do it. Run it at master level and then close the master. You will get a couple of messages asking if you want to save changes. Answer "yes" to the first message and "yes to all" on the second message.
    John
    Sub AddProjToSubsAtMstrLevel()
    Dim t As Task
    Dim sp As Subproject
    For Each t In ActiveProject.Tasks
    t.Name = t.Project & " - " & t.Name
    Next t
    End Sub