rollup to the summary tasks with evaluate also the summary tasks

H

Hernandezz

Hi,

I've created a basic code to detect expressions in tasks' names. I
would need now to do the rollup to the summary tasks, but the problem
is that I also wanted to evaluate/detect the expressions in the
summary tasks.

Are you aware if there's the possibility to do the rollup in vba, so
that I can also test the summary tasks?

I don't Know use rollup in VBA. Thanks

My code:

**************************
Dim tsk As Task

For Each tsk In ActiveProject.Tasks

If tsk.Name Like "*work*" Then

tsk.Flag1 = False
Else
tsk.Flag1 = True

End If

Next tsk
***************************
 
J

Jan De Messemaeker

Hi,

I don't know what you want to rollup to the summary task...
By all means, for each task also works for summary tasks, so that is
covered.
And if/when you want to access a summary task fom a child task, this is how
to address it:
tsk.outlinepartent

Hope this helps,

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 
J

John

Jan De Messemaeker said:
Hi,

I don't know what you want to rollup to the summary task...
By all means, for each task also works for summary tasks, so that is
covered.
And if/when you want to access a summary task fom a child task, this is how
to address it:
tsk.outlinepartent

Hope this helps,
Jan,
I think you meant to say,
tsk.outlineparent

John
 

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