The following code adds a comment to any cell that has been been change. However, right now it applies to the entire worksheet. Is there a way I can limit the target to a specified range?
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Comment Is Nothing Then
Target.AddComment Now & "-" & Target.Value & " -" & Environ("username")
Else
Target.Comment.Text Now & "-" & Target.Value & " -" & Environ("username")
End If
End Sub