Partager via


AppEvents_Event.WorkbookActivate Event

Occurs when any workbook is activated.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Event WorkbookActivate As AppEvents_WorkbookActivateEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_WorkbookActivateEventHandler

AddHandler instance.WorkbookActivate, handler
event AppEvents_WorkbookActivateEventHandler WorkbookActivate

See Also

Reference

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace