Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Target
If .Count > 1 Then Exit Sub
If Not Intersect(Range("A2:A70"), .Cells) Is Nothing Then
Application.EnableEvents = False
If IsEmpty(.Value) Then
.Offset(0, 7).ClearContents
Else
With .Offset(0, 7)
.NumberFormat = "mm/dd/yy hh:mm AM/PM"
.Value = Now
End With
End If
Application.EnableEvents = True
End If
End With
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = Me.Range("D2:D1048)").Address Then
Sheets("Sheet2").Range("C13").Value = Format(Date, "dd-mm-yyyy") & " " & Format(Now, "h:mm:ss AM/PM")
End If
End Sub
Bookmarks