Subproject bas been baselined ?

N

Newbie

Hello,

How can I check, with VBA, if a subproject, inserted in a master project,
has been baselined ?
Thanks for your help
 
J

John

Newbie said:
Hello,

How can I check, with VBA, if a subproject, inserted in a master project,
has been baselined ?
Thanks for your help

newbie,
Well, if you are using Project 2003, the following might work (but not
always):
activeproject.Subprojects(1).SourceProject.baselinesaveddate(pjBaseline)
The reason I say it might not always give a good answer is that this
code will indicate if the inserted summary line has a baseline. The
subproject itself may be baselined but if the master wasn't baselined,
the inserted summary line for that subproject will give a "NA".

I guess an alternate approach would be to loop through all subtasks of
the subproject and check for baselined fields.

John
Project MVP
 
N

Newbie

Thanks a lot John !
You answered my two questions! While the solution is not easy, as I
suspected it ;-(
Thanks again.
 
J

John

Newbie said:
Thanks a lot John !
You answered my two questions! While the solution is not easy, as I
suspected it ;-(
Thanks again.
Newbie,
You're welcome.
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