Automating the 'project version' save

M

mujahid.vnit

How can we automate saving the active project's version in the project
server?
 
E

Ed Morrison

You can do a FileSaveAs and replace the version in the filename. After you
do a filesaveas, the active project-version will be the last saved version.
Therefore, you may be better off doing it in the Project_BeforeClose event.

If the version you want is "Archive" then

Private Sub Project_BeforeClose(ByVal pj As Project)
FileSaveAs Replace(pj.FullName, ".Published", ".Archive")
End Sub
 

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