I am using the following code to put a time stamp in column 1 whenever new values are added to a row of data within a worksheet:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Or Target.Column > 11 Then Exit Sub
With Application
.EnableEvents = False
Me.Cells(Target.Row, 1) = Now
.EnableEvents = True
End With
End Sub
I am a bit of a VBA beginner, can anyone tell me how I can ensure the time-stamped data is in hh:mm format? At present it is including the date.