Workbook.ActivateEvent Event

Definition

Occurs when the workbook is activated.

public event Microsoft.Office.Interop.Excel.WorkbookEvents_ActivateEventHandler ActivateEvent;

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.

Applies to