Unanswered Baseline through VBA

  • 2012年5月8日 20:55
     
     

    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.

所有回覆

  • 2012年5月8日 21:09
    版主
     
     
    You 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

  • 2012年5月8日 21:33
     
     

    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

  • 2012年5月8日 21:39
    版主
     
     
    As 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

  • 2012年5月8日 22:04
    版主
     
     

    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