ActivateMicrosoftApp method
Collapse the table of content
Expand the table of content

_Application.ActivateMicrosoftApp method

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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

void ActivateMicrosoftApp(
	XlMSApplication Index
)

Parameters

Index
Type: Microsoft.Office.Interop.Excel.XlMSApplication

Required XlMSApplication. Specifies the Microsoft application to activate.

XlMSApplication can be one of these XlMSApplication constants:

xlMicrosoftWord

xlMicrosoftPowerPoint

xlMicrosoftMail

xlMicrosoftAccess

xlMicrosoftFoxPro

xlMicrosoftProject

xlMicrosoftSchedulePlus

Show:
© 2016 Microsoft