Workbook.ActivateEvent Event
Visual Studio 2005
Occurs when the workbook is activated.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)
When you switch between two windows showing the same workbook, the WindowActivate event occurs, but the ActivateEvent event for the workbook does not occur.
This event does not occur when you create a new window.