Option Explicit
Dim RunOnTime As Double
Dim LastRun As Double
Sub RunIt()
Dim sec As Integer
sec = 1 'procedure will run each ... second(s)
LastRun = Timer
Sheets(1).TextBox1 = Time
RunOnTime = Now + sec / 60 / 60 / 24
Application.OnTime RunOnTime, "RunIt", , True
End Sub
Sub StopIt()
On Error Resume Next
Application.OnTime RunOnTime, "RunIt", , False
RunOnTime = 0
End Sub