Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Activates a Microsoft application. If the application is already running, this method activates the running application. If the application isn't running, this method starts a new instance of the application.
expression**.ActivateMicrosoftApp(index)**
expression Required. An expression that returns an Application object.
XlMSApplication
| XlMSApplication can be one of these XlMSApplication constants. |
| xlMicrosoftWord |
| xlMicrosoftPowerPoint |
| xlMicrosoftMail |
| xlMicrosoftAccess |
| xlMicrosoftFoxPro |
| xlMicrosoftProject |
| xlMicrosoftSchedulePlus |
Example
This example starts and activates Word.
Application.ActivateMicrosoftApp xlMicrosoftWord
Applies to | Application Object