Countdown time in Excel

Flicker

New Member
Joined
Feb 19, 2009
Messages
45
Hello,

I want to create a small app in Excel to count down a time and count up after the time passed. The logic is very straigth forward.

1. I use Now() function to get the present time from Windows and plus 10 minute.
2. I use Hour(), Minutes() and second () to get value of Hour, Minute and Second.
3. I use time from 1 minus 2 to show the remaining time.

The problem is I have to press F9 to re-calculate / refresh the page every second in order to make the time count down. I think I can use Excel VBA to make it refresh every second. However, I do not know the VBA. Please give me a comment.

Thank you in advance.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
jeffrey, I used that exact code but I have noticed that the time lags. It runs slower then real time.
Any thoughts?
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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