Window.ActivateNext method (Excel)

Activates the specified window and then sends it to the back of the window z-order.

Syntax

expression.ActivateNext

expression A variable that represents a Window object.

Return value

Variant

Example

This example sends the active window to the back of the z-order.

ActiveWindow.ActivateNext

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.