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