AppEvents_Event.WorkbookDeactivate Event

Occurs when any open workbook is deactivated.

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

Syntax

'Declaration
Event WorkbookDeactivate As AppEvents_WorkbookDeactivateEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_WorkbookDeactivateEventHandler

AddHandler instance.WorkbookDeactivate, handler
event AppEvents_WorkbookDeactivateEventHandler WorkbookDeactivate

See Also

Reference

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace