Search notes:

VBA statement: appActivate

appActivate activates the window with a given title (caption) or task/process id (as for example returned by the shell function).

Excel

Excel exposes the title of itself in the object model through application.caption. This makes it possible to bring the currently running Excel application to the front with VBA like so:
appActivate application.caption

See also

The method AppActivate in the .NET class Microsoft.VisualBasic.Interaction
VBA statements

Index