Partager via


Application.ActivateMicrosoftApp Method (Excel)

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.

Syntax

expression .ActivateMicrosoftApp(Index)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Index

Required

XlMSApplication

Specifies the Microsoft application to activate.

Example

This example starts and activates Word.

Application.ActivateMicrosoftApp xlMicrosoftWord

See Also

Concepts

Application Object

Application Object Members