Workbook.ActivateEvent Event
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.
Occurs when the workbook is activated.
public:
event Microsoft::Office::Interop::Excel::WorkbookEvents_ActivateEventHandler ^ ActivateEvent;
event Microsoft.Office.Interop.Excel.WorkbookEvents_ActivateEventHandler ActivateEvent;
member this.ActivateEvent : Microsoft.Office.Interop.Excel.WorkbookEvents_ActivateEventHandler
Event ActivateEvent As WorkbookEvents_ActivateEventHandler
Event Type
Remarks
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.