Try something like this. Change the sheet name to suit.
Public dTime As Date
Sub ClearCell()
Static rng As Range
With Sheets("Sheet1")
If rng Is Nothing Then Set rng = .Range("A1:AB1") 'Start cells
rng.ClearContents
If rng.Row < .Rows.Count Then
Set rng = rng.Offset(1)
Call StartTimer
End If
End With
End Sub
Sub StartTimer()
dTime = Now + TimeValue("00:01:00")
Application.OnTime dTime, "ClearCell", Schedule:=True
End Sub
Sub StopTimer()
On Error Resume Next
Application.OnTime dTime, "ClearCell", Schedule:=False
End Sub
Bookmarks