Setting BaselineSavedDate

T

Thomas Vanparys

Hi,

I was wondering if it was possible to set the BaselineSavedDate to an
arbitrary date using VBA (MSP 2007). I've tried several ways to do
this but they all seem to fail.

Example 1:
Set ActiveProject.BaselineSavedDate(pjBaseline9) =
ActiveProject.BaselineSavedDate(pjBaseline8)

Example 2:
Dim myDate As Date
myDate = DateValue("21/06/2011 16:26:00")
ActiveProject.BaselineSavedDate(pjBaseline1) = myDate

Why am I trying to do this: I noticed that when you copy a baseline
from one to another the save date also updates. Eg. when I copy
Baseline8 to Baseline9 the BaselineSavedDate of Baseline9 will be the
current date and not the date Baseline8 was originally saved. This
poses some issues in the workflow that I've been asked to create.

Thanks for your help.
Thomas V
 

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