Right-click on the sheet name at the bottom
Choose View Code to open
VB Editor
Click on the first dropdown and choose Worksheet
You can see all related events in the second dropdown...
Choose Change
You will see
Private Sub Worksheet_Change(ByVal Target As Range)
End Sub
Enter the code between Sub/End Sub.
"MAX" wrote:
How to attach the code to a Sheet_Change event