Baseline through VBA
-
Tuesday, May 08, 2012 8:55 PM
Hi.
I need to set the Baseline Saved Date in a Project using VBA. The property BaselineSaved Date is read only and i can't edit. How to set that date using VBA??
Thanks for your help.
- Moved by Brian Kennemer, MVPMVP, Moderator Tuesday, May 08, 2012 9:06 PM (From:Project Server - Setup, Upgrade, Administration and Operation)
All Replies
-
Tuesday, May 08, 2012 9:09 PMModeratorYou cannot edit that value. it is saved automatically when the baseline is saved. Save the baseline and tthe BaselineSaved Date is updated automatically.
Brian Kennemer - Project MVP
DeltaBahn Senior Architect
endlessly obsessing about Project Server…so that you don’t have to.
Blog | Twitter | LinkedIn -
Tuesday, May 08, 2012 9:33 PM
Hi Brian
I know that kind of restriction, but i did a new Baseline functionality because the actual Baseline functionality doesn't work to the customer. The only missing is the Baseline Date to get it done the requirement. Is there any way to set the date?
Kind regards
-
Tuesday, May 08, 2012 9:39 PMModeratorAs Brian said: you can't set the Baseline date using VBA. However, you could copy the Baseline to Baseline1 then back again. That should also set the date. Note that for a larger file with many Assignments, that will increase the file size by a chunk or two.
Rod Gill
The one and only Project VBA Book
Rod Gill Project Management
-
Tuesday, May 08, 2012 10:04 PMModerator
I would do what Rod said, save the baseline through the normal way in VBA, that will save the BaselineSaved date. Then go through and overwrite the baseline in your own method. That way you get the saveddate and your own data.
What does the customer not like about the way Project saves the baseline?
Brian Kennemer - Project MVP
DeltaBahn Senior Architect
endlessly obsessing about Project Server…so that you don’t have to.
Blog | Twitter | LinkedIn

