Window.Activate Method (Excel)

Brings the window to the front of the z-order.

Syntax

expression. Activate

expression A variable that represents a Window object.

Return Value

Variant

Remarks

This won't run any Auto_Activate or Auto_Deactivate macros that might be attached to the workbook (use the RunAutoMacros method to run those macros).

See also

Window Object