C
cmiedaner
Are there other functions beside NOW() that I can use to have the correct time displayed in a cell ?
Are there other functions beside NOW() that I can use to have the correct time displayed in a cell ?
Paga Mike said:To get a cell (say B9) to display an updating time, run the StartClock
macro listed below:
Dim PleaseStopMe As Boolean
Sub StopIt()
PleaseStopMe = True
End Sub
Sub StartClock()
PleaseStopMe = False
Do
Range("B9").Value = Format(Now, "hh:mm:ss")
DoEvents
If PleaseStopMe Then Exit Sub
Loop
End Sub
To stop the clock, run the StopIt macro
For some reason it does not update all the time - there are pauses in the updates. So I'm looking for a time function that reflects the current time (hh:mm:ss) continuosly over the course of the day.