Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
CC
 
Posts: n/a
Default HELP for COUNTDOWN TIMER


I need to build a countdown timer and show it in a Excel spreadsheet


thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default HELP for COUNTDOWN TIMER

Paste the following code into a Module, and run it:

Public Sub CountDown()
Const oneSecond As Double = 1 / 24 / 3600
With Worksheets("Sheet1").Range("A1")
.Value = .Value - oneSecond
End With
Application.OnTime Now + oneSecond, "CountDown"
End Sub


"CC" a écrit dans le message de news:
...

I need to build a countdown timer and show it in a Excel spreadsheet


thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
CC
 
Posts: n/a
Default HELP for COUNTDOWN TIMER

What about put this information (countdowntimer) in a msgbox or form ?

CC


"Ardus Petus" wrote:

Paste the following code into a Module, and run it:

Public Sub CountDown()
Const oneSecond As Double = 1 / 24 / 3600
With Worksheets("Sheet1").Range("A1")
.Value = .Value - oneSecond
End With
Application.OnTime Now + oneSecond, "CountDown"
End Sub


"CC" a écrit dans le message de news:
...

I need to build a countdown timer and show it in a Excel spreadsheet


thanks




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
timer Macro Puzzled Excel Worksheet Functions 3 March 11th 06 09:21 PM
Stopping a Timer / Running a timer simultaneously on Excel Paul23 Excel Discussion (Misc queries) 1 March 10th 06 12:08 PM
timer macro Darren Excel Discussion (Misc queries) 1 January 24th 06 01:59 PM
Macro With Timer Event Saxman Excel Discussion (Misc queries) 4 December 12th 05 05:35 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 06:56 PM.

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

About Us

"It's about Microsoft Excel"