L
Legacy 436357
Guest
Hi,
Can this code be edited so it puts the data on the next available line? I sometimes need to delete some data.
Thanks
Can this code be edited so it puts the data on the next available line? I sometimes need to delete some data.
Thanks
Code:
Private Sub CommandButton1_Click()
Static xCount As Integer
Application.EnableEvents = False
Range("J3").Offset(xCount, 0).Value = Range("H6").Value
Range("K3").Offset(xCount, 0).Value = Range("H3").Value
Range("L3").Offset(xCount, 0).Value = Format(Now(), "HH:MM:SS")
xCount = xCount + 1
Application.EnableEvents = True
End Sub