Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Timer Update
Hi
Is there any way I can have a counter in a cell, ie start at 0 and add 1 every second. Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Timer Update
Chronomèt http://boisgontierjacques.free.fr/fi...ronoSimple.xls
Public ProchainChrono, Départ Sub Demarre() Départ = Timer() majChrono End Sub Sub majChrono() Sheets("Chrono").[A1] = Format((Timer() - Départ) / 3600 / 24, "hh:mm:ss") ProchainChrono = Now + TimeValue("00:00:1") Application.OnTime ProchainChrono, "majChrono" End Sub Sub Arret() On Error Resume Next Application.OnTime ProchainChrono, Procedu="majChrono", Schedule:=False End Sub JB On 12 août, 19:08, Alectrical wrote: Hi Is there any way I can have a counter in a cell, ie start at 0 and add 1 every second. Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Timer Update
Thanks Jacques, it works a treat
"JB" wrote: Chronomht http://boisgontierjacques.free.fr/fi...ronoSimple.xls Public ProchainChrono, Dipart Sub Demarre() Dipart = Timer() majChrono End Sub Sub majChrono() Sheets("Chrono").[A1] = Format((Timer() - Dipart) / 3600 / 24, "hh:mm:ss") ProchainChrono = Now + TimeValue("00:00:1") Application.OnTime ProchainChrono, "majChrono" End Sub Sub Arret() On Error Resume Next Application.OnTime ProchainChrono, Procedu="majChrono", Schedule:=False End Sub JB On 12 ao{t, 19:08, Alectrical wrote: Hi Is there any way I can have a counter in a cell, ie start at 0 and add 1 every second. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Timer | Excel Discussion (Misc queries) | |||
Timer | Excel Worksheet Functions | |||
Lap-timer | Excel Discussion (Misc queries) | |||
Stopping a Timer / Running a timer simultaneously on Excel | Excel Discussion (Misc queries) | |||
Is a countdown timer possible? | Excel Discussion (Misc queries) |