How do I run a macro when cell value changes? WorksheetChange?
Hi,
Something along these lines ...
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$H$11" Then
Application.EnableEvents = False
If Target.Value = 12 Then
place your code to copy
End If
Application.EnableEvents = True
End If
End Sub
HTH
Cheers
Carim
|