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
 

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