Code: Select all
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Target.Value = "" Then Exit Sub
If Not Intersect(Target, Range("B2:B1000")) Is Nothing Then
Application.EnableEvents = False
With Target(1, 0)
.Value = Now
End With
End If
Application.EnableEvents = True
End Sub
But now I’ve have been trying to figure out a way so that if there is already data / date in column "A" the code would then exit sub and not update with current date
I’ve tried different things with no success