_Application.ActivateMicrosoftApp(XlMSApplication) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void ActivateMicrosoftApp(Microsoft::Office::Interop::Excel::XlMSApplication Index);
public void ActivateMicrosoftApp (Microsoft.Office.Interop.Excel.XlMSApplication Index);
Public Sub ActivateMicrosoftApp (Index As XlMSApplication)
Parameters
- Index
- XlMSApplication
Required XlMSApplication. Specifies the Microsoft application to activate.XlMSApplication can be one of these XlMSApplication constants:xlMicrosoftWordxlMicrosoftPowerPointxlMicrosoftMailxlMicrosoftAccessxlMicrosoftFoxProxlMicrosoftProjectxlMicrosoftSchedulePlus