WorkbookEvents_SheetDeactivateEventHandler Delegate
A Delegate type used to add an event handler for the SheetDeactivate event. The SheetDeactivate event occurs when any sheet is deactivated.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub WorkbookEvents_SheetDeactivateEventHandler ( _
Sh As Object _
)
'Usage
Dim instance As New WorkbookEvents_SheetDeactivateEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_SheetDeactivateEventHandler(
Object Sh
)
Parameters
Sh
Type: System.ObjectThe sheet. Can be a Chart or Worksheet object.