Application Object
Deactivate Event
Startup Event
Using events with Automation