How do you loop through only the summary task...

R

ronald_yoh

Hi there..

anyone knows how to loop through only the summary task in ms project
(via VBA)?

Cheers
Ron
 
R

Rod Gill

Hi,

This group is closing down soon (hopefully, sometime) so please post to teh
project.developer group in future.

Try:

Dim Tsk as Task
for each tsk in activeproject.tasks
if not tsk is nothing then
if not tsk.summary then
'summary task
end if
endif
next tsk

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com
 

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