Partager via


WorkbookEvents_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 WorkbookEvents_SheetActivateEventHandler ( _
    Sh As Object _
)
'Usage
Dim instance As New WorkbookEvents_SheetActivateEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_SheetActivateEventHandler(
    Object Sh
)

Parameters

  • Sh
    Type: System.Object

    The activated sheet. Can be a Chart or Worksheet object.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace