Window.Activate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.