Hi all,
I want to clear cell "I15" after 60 seconds. I will be calling this sub within another sub. Probably being stupid but can someone see why the following isn't working? The cell is being cleared instantly.
Thanks
I want to clear cell "I15" after 60 seconds. I will be calling this sub within another sub. Probably being stupid but can someone see why the following isn't working? The cell is being cleared instantly.
Code:
Sub ClearTimer()
Dim StartTime As Single
StartTime = Timer
Do While Timer - StartTime <= 60
Range("I15").ClearContents
Loop
MsgBox "cleared"
End Sub
Thanks