Window.Activate Method

Definition

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

public:
 System::Object ^ Activate();
public object Activate ();
Public Function Activate () As Object

Returns

Remarks

The Activate method won't run any Auto_Activate or Auto_Deactivate macros that might be attached to the workbook. Use the RunAutoMacros(XlRunAutoMacro) method to run those macros.

Applies to