ApplicationStartConstants

Mode values reported by the application’s start-up logic — whether it was launched as a stand-alone program or invoked via Automation by another application.

Constant Value Description
vbSModeStandalone 0 The application was launched directly by the user.
vbSModeAutomation 1 The application was started through Automation, in response to a request from another application.