Good afternoon
Using the following code I can have a clock running all of the time in a cell on a workbook
Sub TimerMe()
Range(“B1”).Value = 1
Do While Range(“B1”).Value = 1
Application.OnTime Now + _
TimeValue(“00:00:01”), “Refresh”
Exit Do
Loop
End Sub
Sub Refresh()
Calculate
If Range(“B1”).Value = 1 Then
TimerMe
Else
Exit Sub
End If
End Sub
Sub stopClock()
Range(“B1”).Value = 0
End Sub
Q1: Can I have it run immediately without the stop and start buttons being present
Q2: What would I need to add to make it run in all worksheets in an open workbook
Q3: I am trying to show the time in London and the time in many other Countries (there are 255 tabs in the WB) so I have tried =A1+5 for example to increase the time by 5 hours but all that does is shows the date + 5 days and the current time in the target cell.
Any help appreciated
Cheers
Steve