Kill(Path to object as string)
You will need to use that in association with the event described.
Might there be an alternative to not allow the user to save the file to
begin with?
--
If this post was helpful, please consider rating it.
Well this the Deactivate event sounds lika the one I want to use, but I cant
get it to work. It only trigger when I switch from the current project to
another project not when I close the project. Can anyone else get it to work.
There is no after project close event and the deactivate event does not
trigger for the last project closed.
The only way with this is to subclass or hook MSProject and hook the project
window close message passed to the project window.
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.