check a summary task with outlinelevel 1

J

Joy

I want to check whether a summary task exists in the project, how can I do
it. the summary task has level 1
 
J

Jan De Messemaeker

Hi,

For each job in activeproject.tasks
if not job is nothing then
if (job.summary) and (job.name="whatyoulookfor") then
debug. print "I fouund it!"
end if
end if
next job

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
 

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