run winproj and dont open empty project

D

Dan

Hi
When I run winproj, it always open empty project. I need only to open
program withought this empty file. Is it possible? Any parameters to do it?

Dan
 
T

TomG

Dan, I'm not sure about using parameters, but I do it using VBA in the
Project_Open event like this:

Private Sub Project_Open(ByVal pj As MSProject.Project)
'close project1
If ActiveProject.Name = "Project1" Then
FileClose pjDoNotSave
End If

Tom
 
Top