Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Count Down Timer in 1 sec. increments

I have a request to program one cell of a spreadsheet that
the user can type a minute value (i.e. 00:10:00) and when
they press the enter key (with focus on this cell) a timer
starts and the display changes to count down to 00:00:00.
The value will be entered in minutes, so if there is any
way that the user just has to enter "10" instead of the
entire 8 character time format, that would be ideal.

Can anyone help with this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Count Down Timer in 1 sec. increments

Here's one for seconds

'=======================================
Sub countdown()
t = ActiveSheet.Range("A1").Value
For s = t To 0 Step -1
ActiveSheet.Range("A1").Value = s
Application.Wait Now + TimeValue("00:00:01")
Next
End Sub
'======================================


---
Message posted from http://www.ExcelForum.com/

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
45 Day Count Down Timer da_bigone Excel Worksheet Functions 1 August 30th 09 11:43 AM
count down timer NED Excel Discussion (Misc queries) 3 December 11th 07 12:39 PM
count day timer NED Excel Discussion (Misc queries) 3 December 11th 07 12:38 PM
Timer, Tally, and Count Jay3253 Excel Discussion (Misc queries) 0 October 25th 05 09:02 PM
Count-down timer? (e.g. 10 days left...9...8...) mesotech Excel Discussion (Misc queries) 2 January 6th 05 04:38 PM


All times are GMT +1. The time now is 09:54 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"