Window.Activate (Excel)
Brings the window to the front of the z-order.
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).
ActiveWindow.Activate
Brings the window to the front of the z-order.
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).
ActiveWindow.Activate