ApplicationBeforeClose Event
Occurs before Project exits.
Syntax
Private Sub object_ApplicationBeforeClose(InfoAs MSProject.EventInfo)
object An object of type Application declared with events in a class module. For more information, see Using events with the Application object.
Info EventInfo. Cancel is False when the event occurs. If the event procedure sets this argument to True, Project does not close when the procedure is finished.
Remarks
Project events do not occur when the project is embedded in another document or application.
Applies to | Application Object
See Also | BeforeClose Event | FileClose Method | FileExit Method