Compartilhar via


DocEvents_Event.Change Event

Occurs when cells on the 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
Event Change As DocEvents_ChangeEventHandler
'Usage
Dim instance As DocEvents_Event
Dim handler As DocEvents_ChangeEventHandler

AddHandler instance.Change, handler
event DocEvents_ChangeEventHandler Change

Remarks

This event doesn't occur when cells change during a recalculation. Use the Calculate event to trap a sheet recalculation.

See Also

Reference

DocEvents_Event Interface

DocEvents_Event Members

Microsoft.Office.Interop.Excel Namespace