Window.ActivatePrevious Method

Excel Developer Reference

Activates the specified window and then activates the window at the back of the window z-order.

Syntax

expression.ActivatePrevious

expression   A variable that represents a Window object.

Return Value
Variant

Example

This example activates the window at the back of the z-order.

Visual Basic for Applications
  ActiveWindow.ActivatePrevious

See Also