title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.SheetChange event (Excel) |
vbaxl10.chm504080 |
|
|
0b06ad02-52c0-f0a3-c827-b7e51aecc81c |
04/05/2019 |
medium |
Occurs when cells in any worksheet are changed by the user or by an external link.
expression.SheetChange (Sh, Target)
expression An expression that returns an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Sh | Required | Object | A Worksheet object that represents the sheet. |
Target | Required | Range | The changed range. |
This event doesn't occur on chart sheets.
This example runs when any worksheet is changed.
Private Sub Workbook_SheetChange(ByVal Sh As Object, _
ByVal Source As Range)
' runs when a sheet is changed
End Sub
[!includeSupport and feedback]