Window.ActivatePrevious Method (Excel)

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.

ActiveWindow.ActivatePrevious

See Also

Concepts

Window Object Members

Window Object