WorkbookEvents_SheetChangeEventHandler Delegate

A Delegate type used to add an event handler for the SheetChange event. The SheetChange event occurs when cells in any worksheet are changed by the user or by an external link.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub WorkbookEvents_SheetChangeEventHandler ( _
    Sh As Object, _
    Target As Range _
)
'Usage
Dim instance As New WorkbookEvents_SheetChangeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_SheetChangeEventHandler(
    Object Sh,
    Range Target
)

Parameters

  • Sh
    Type: System.Object

    A Worksheet object that represents the sheet.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace