A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I'd set the number format of E1:E14 to dd mmm yyyy hh:mm:ss manually - you need to do that only once, no need to do it every time a cell in A1:A14 is changed.
Try this version of the Worksheet_Change event procedure. It also works if multiple cells in A1:A14 are changed simultaneously.
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim cel As Range
If Not Intersect(Range("A1:A14"), Target) Is Nothing Then
Application.EnableEvents = False
Me.Unprotect Password:="secret"
For Each cel In Intersect(Range("A1:A14"), Target)
If cel.Value = "" Then
cel.Offset(0, 4).ClearContents
Else
cel.Offset(0, 4).Value = Now
End If
Next cel
Me.Protect Password:="secret"
Application.EnableEvents = True
End If
End Sub