I'm making an excel document for business reports. I took the script from this discussion in the MS Support - LINK
It appears as follows:
Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("A1")) Is Nothing Or _
Not Intersect(Target, Range("B1")) Is Nothing Or _
Not Intersect(Target, Range("C1")) Is Nothing Or _
Not Intersect(Target, Range("D1")) Is Nothing Or _
Not Intersect(Target, Range("E1")) Is Nothing Then
Target.Offset(1, 0) = Now
End If
End Sub
It functions perfectly, but now I want to clear target cells after clearing the main cells. Now, for instance, if I delete A1, the time in A2 remains. I'm really new at Excel and am hoping for some assistance.