G
Gary''s Student
I am monitoring changes to cell B9 with:
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("B9")) Is Nothing Then Exit Sub
MsgBox ("B9 has changed")
End Sub
This works if I type a value in B9 or paste a value in B9.
If I sort column B and B9 changes, the event is not triggered.
How can I trap this type of change?
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("B9")) Is Nothing Then Exit Sub
MsgBox ("B9 has changed")
End Sub
This works if I type a value in B9 or paste a value in B9.
If I sort column B and B9 changes, the event is not triggered.
How can I trap this type of change?