ActivateMicrosoftApp Method

Activates a Microsoft application if it is running or starts a new instance of it if it is not.

Syntax

expression**.ActivateMicrosoftApp(Index)**

*expression   *     Optional. An expression that returns an Application object.

Index    Required Long. Specifies the Microsoft application to activate. Can be one of the following PjMSApplication constants: pjMicrosoftWord, pjMicrosoftPowerPoint, pjMicrosoftMail, pjMicrosoftAccess, pjMicrosoftFoxPro, pjMicrosoftExcel, pjMicrosoftSchedulePlus, or pjMicrosoftOutlook.

Applies to | Application Object

See Also | AppExecute Method