Usually the save as will fall into BeforeSave and ProjectAfterSave event
after the file is saved. From there, I can retrieve the new file name.
However, when I create a new project and close the project, the MSProject
will ask to save or not, next I click yes and give a new name. Only
BeforeSave will rise up. The problem with BeforeSave is only contains the
old name. Is there anyway to get the new name from external program in this
scenario?



Cheers,

Jonathan

Re: Catching new filename after save as by Rod

Rod
Thu Nov 18 03:31:55 CST 2004

Hi,

Use the FileDialog object to request the file name from the user then use
that name to save the project yourself.

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.project-systems.co.nz/
Email rodg AT project-systems DOT co DOT nz
"Jonathan Fong" <sufong2001@yahoo.com.au> wrote in message
news:uxxny0SzEHA.3656@TK2MSFTNGP09.phx.gbl...
> Usually the save as will fall into BeforeSave and ProjectAfterSave event
> after the file is saved. From there, I can retrieve the new file name.
> However, when I create a new project and close the project, the MSProject
> will ask to save or not, next I click yes and give a new name. Only
> BeforeSave will rise up. The problem with BeforeSave is only contains the
> old name. Is there anyway to get the new name from external program in
> this scenario?
>
>
>
> Cheers,
>
> Jonathan
>
>