ActivatePrevious Method

Microsoft Excel Visual Basic

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

expression.ActivatePrevious

expression    Required. An expression that returns a Window object.

Example

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

ActiveWindow.ActivatePrevious