Countdown Timer

Danbrighton

Board Regular
Joined
Apr 8, 2004
Messages
64
Hello girls and Boy

Ive heard a rumour that you can set up a 'Countdown Timer' on excel i.e Days, hours, minutes and seconds to a particular day/event (y) ..is this true and if it is how do you do it?

Dan
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
What exactly do you mean? do you mean you will visible see it count down every second or just on opening you want to see time left to occurence?
 
Upvote 0
yes mate,

I just want to see the following at any time so contiually counting if poss..

DD HOURS MINUTES SECONDS
 
Upvote 0
"...contiually counting if poss.. "

given the topic title of 'cvountdown', you have yet to specify where the countdown starts & ends. if it's related to data in a file, make sure to specify where it is & what you want to happen when the limit is reached.
 
Upvote 0
Sorry..all I want to do for example is set up a document which when I open there is a timer which is contiually counting down ie to the olympics ...so it looks something like this....

17 Days 06hrs 17mins 12secs until the ....

hope this makes sense..if it's too involved dont worry
 
Upvote 0
and will this be working of a cell in your spreadsheet or can the date/time its counting down to be in the vba?
 
Upvote 0
Add this formula to your sheet:

=ABS(SECOND(NOW())-60)&" seconds left"

Then in a standard module add:

Public myStop As Integer

Private Sub Worksheet_Activate()
'Standard module code.
Call Recalculate
End Sub

Public Sub Recalculate()
'Standard module code.
'This starts the timer!

On Error GoTo Err
On myStop <> 0 GoTo Err
Calculate
Application.OnTime earliesttime:=Now + TimeValue("00:00:01"), _
procedure:="Recalculate"
End
Err:
End Sub

Public Sub myEnd()
'Standard module code.
myStop = myStop + 1
End Sub

Public Sub myReSet()
'Standard module code.
myStop = 0
End Sub

Then run Sub Recalculate().

P.S. I added this after I posted the above:

=ABS(DAY(NOW() +12)-1) & "Days " & ABS(HOUR(NOW())-24) & "hrs " & ABS(MINUTE(NOW())-60) & "mins " & ABS(SECOND(NOW())-60) & "secs"

This formula will count down the way you want, I Think!
I guessed on the start date Monday August 9th? 12 days in the formula above?
 
Upvote 0

Forum statistics

Threads
1,215,645
Messages
6,125,995
Members
449,279
Latest member
Faraz5023

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top