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