Multuiple Summary tasks with identical subtasks

D

damienvfx

Hello. I have run into a problem where I have multiple summary tasks
that have identically named subtasks (these are the names of different
departments). When I go to sort by resource name, it never sorts
alphabetically (I am not sure why that is happening). If I try sorting
without the outline, all I get is the list of subtasks which are all
named identically.

How can I sort my subtasks by resource name alphabetically and still
see the summary task?
 
J

Jan De Messemaeker

Hi,

One way is to copy the summary task's name to a custom field in the subtasks
(say Text1)
Here's a macro that will do that for you:

Sub CopySummaryName()
Dim Job as task
for each job in activeproject.tasks
if not job is nothing then
if job.outlinelevel>1 then
job.text1=job.outlineparent.name
end if
end if
next job
end sub

HTH
 

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