Modifica

Condividi tramite


WorkbookEvents_Event.Activate Event

Definition

Occurs when a workbook is activated.

public:
 event Microsoft::Office::Interop::Excel::WorkbookEvents_ActivateEventHandler ^ Activate;
event Microsoft.Office.Interop.Excel.WorkbookEvents_ActivateEventHandler Activate;
Event Activate As WorkbookEvents_ActivateEventHandler 

Event Type

Remarks

When you switch between two windows showing the same workbook, the WindowActivate event occurs, but the Activate event for the workbook doesn't occur.

This event doesn't occur when you create a new window.

Applies to