Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default countdown clock

Hi, I have a simple countdown code for a stopwatch however it runs
faster than every second
does anybody know how I can rectify this?
thanks


Sub clockwork ()

Range("e12") = Range("e12") - TimeValue("00:00:01")
If Range("e12") = 0 Then End

'runs event every 1 second
NextTick = Now + TimeValue("00:00:01")
Application.OnTime NextTick, "clock"
End sub

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up countdown timer to countdown days to a specific day Jenny Excel Worksheet Functions 3 May 8th 23 07:43 PM
How to insert a 2 minute countdown clock in excel test? Flying Moth Excel Discussion (Misc queries) 1 December 9th 09 01:35 PM
Countdown Clock Johnny Excel[_2_] Excel Discussion (Misc queries) 4 June 5th 08 03:45 PM
Change EXCEL Clock to Standard Clock or Military Time YoMarie Excel Worksheet Functions 4 April 29th 07 08:39 PM
can i get a cell to countdown with the computer clock in excel Fastfred Excel Discussion (Misc queries) 1 January 1st 06 12:23 PM


All times are GMT +1. The time now is 06:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"