編輯

共用方式為


_Application.ActivateMicrosoftApp(XlMSApplication) Method

Definition

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

Applies to