HELP for COUNTDOWN TIMER

  • Thread starter Thread starter Guest
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Are there any Excel macros for a simple countdown timer? 1
Simple Timer facility 6
Embed application in spreadsheet 2
Countdown Timer 1
Countdown timer 7
countdown timer 5
Excel Excel Show Countdown Date 7
timer 4

Back
Top