Set the ProjectStart Date before opening a csv file

D

Dirk

Dear List,

From a VB program I want to open a csv file and save it as .mpp
afterwards.
The csv file is formatted according to a mapping defined in MS
Project.

The code looks like....

Set pj = CreateObject("MSProject.Project")
pj.Application.FileOpen (....)

A problem arises when one of the tasks of the csv file lies before the
ProjectStart date....There is an error message that asks me if I want
to allow the task to be before the ProjectStart date.

How can I set the Project Start date to some day other then the actual
date of my machine from within VB before calling the FileOpen()
Method.

Please advise,

Dirk
 
G

Gérard Ducouret

Hello Dirk,
Try something like that :

ProjectSummaryInfo Start:="02/02/04 08:00"

Hope this helps,

Gérard Ducouret
 

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