Skip to main content

Application.SheetChange event

Occurs when cells in any worksheet are changed by the user or by an external link.


expression.SheetChange (ShTarget)

expression An expression that returns an Application object.


Name Required/Optional Data type Description
Sh Required Object 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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>