Hello all!!

I thought this would be simple but that's what I get for thinkin lol!!! I am just trying to add a comment with text in it if a cell text value is a matching value!
I've tried this but to no avail!! Note is a macro that I created but if there is a better way, that's even better!

TIA


Sub worksheet_change(ByVal target As Range)
Set target = Range("G2:G500")
If target.Text = "xxxxx" Then
 Call Note
 Else
End If
End Sub