+ Reply to Thread
Results 1 to 13 of 13

Countdown timer with progress bar and reset/pause features

  1. #1
    Registered User
    Join Date
    02-15-2019
    Location
    Malta
    MS-Off Ver
    2017
    Posts
    12

    Countdown timer with progress bar and reset/pause features

    Hello all,

    I need some help to create a 60 seconds countdown timer with pause/resume and reset (back to 60 secs) I would also like it to have a progress bar which starts green, turns yellow and plays a tone when 30 seconds are remaining, and turns red in the last 10 seconds and plays 3 times the tone when time expires. (like the attached photo)

    Thanks in advance
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Countdown timer with progress bar and reset/pause features

    Try the link below

    http://www.tushar-mehta.com/excel/so...countdown.html
    If you think someone helped you, click on the "* Add Reputation" as a way to say thank you.

    If your problem is solved, go to Thread Tools and select Mark This Thread Solved

  3. #3
    Registered User
    Join Date
    02-15-2019
    Location
    Malta
    MS-Off Ver
    2017
    Posts
    12

    Re: Countdown timer with progress bar and reset/pause features

    Hi,

    Thanks for your reply. I did try this one but its not compatible with a 64bit machine and the VBA is locked

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,305

    Re: Countdown timer with progress bar and reset/pause features

    Better late than never.
    Give the attached ago.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-15-2019
    Location
    Malta
    MS-Off Ver
    2017
    Posts
    12

    Re: Countdown timer with progress bar and reset/pause features

    Hi Torachan,

    Thanks for your reply. The problem is that it is not working on my 64bit laptop. Is it possible to edit it to work on a 64bit please?

    Regards

  6. #6
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,305

    Re: Countdown timer with progress bar and reset/pause features

    It is most likely the two 'declarations' at the start of the code.
    As I am unable to test on 64 bit I have attached a link that should help you edit the code.


  7. #7
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,305

    Re: Countdown timer with progress bar and reset/pause features

    Give the attached a try.
    I have removed the two declarations and resorted to the basic beep.
    It should work.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-15-2019
    Location
    Malta
    MS-Off Ver
    2017
    Posts
    12

    Re: Countdown timer with progress bar and reset/pause features

    Oh God I am now seeing this! Got to search again for one as season is reopening....thanks buddy it works great!!

  9. #9
    Registered User
    Join Date
    02-15-2019
    Location
    Malta
    MS-Off Ver
    2017
    Posts
    12

    Re: Countdown timer with progress bar and reset/pause features

    Hi Torachan. Is there any way I could get this timer in Full Screen?

  10. #10
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,305

    Re: Countdown timer with progress bar and reset/pause features

    Try this - small amount of flicker - will try to correct if annoying.
    Press 'X' top right corner to dismiss.
    torachan.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    02-15-2019
    Location
    Malta
    MS-Off Ver
    2017
    Posts
    12

    Re: Countdown timer with progress bar and reset/pause features

    Dear Torachan,

    Thanks for your new version. Size is much better like this, but as you said, sometimes there is some flickering. Have also noticed that timer is stopping at 1 (not at zero) like its loosing the last second? Dont want to be a pain in the*** :D

    Something else which might seem very big for me but not for the coding experts Lately (after i asked for this timer a year ago) we have introduced a new rule in Pool where a player has 1 chance to add an extension of 45 seconds. Is there a way to add another button and when pressed, it adds 45 seconds to trem?
    I was thinking of a function 'extend' which when pressed it will reset the timer to trem + 45 followed by a resume so the timer will keep going after the extension is performed. Actually 2 buttons 'extend 1' and 'extend 2'. They will both have the same function in terms of timer but each will differently decrease the number of extensions available for player 1 or player 2 respectively (They only have 1 chance so starting will be 1) also to include a button to reset extension counter

    I have edited the userform to the way I would like it to show but I dont know how to code the functions I was just able to enlarge more the progress bar as when I compared your changes from the first timer to the second I was able to give the code some logic. I'm learning thanks :D
    Attached Images Attached Images
    Attached Files Attached Files

  12. #12
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,305

    Re: Countdown timer with progress bar and reset/pause features

    Leave it with me for a few days.

  13. #13
    Registered User
    Join Date
    02-15-2019
    Location
    Malta
    MS-Off Ver
    2017
    Posts
    12

    Re: Countdown timer with progress bar and reset/pause features

    Quote Originally Posted by torachan View Post
    Leave it with me for a few days.
    Thanks mate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Timer With Start Pause Resume Reset
    By blue_apple in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-16-2019, 11:19 AM
  2. [SOLVED] hwnd timer pause VBA countdown timer
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-05-2019, 04:25 AM
  3. Countdown timer Working BUT starting the timer repeatedly SPEEDS UP TIMER!
    By Vinospam in forum Excel Programming / VBA / Macros
    Replies: 67
    Last Post: 03-30-2019, 06:42 PM
  4. Displaying a unique countdown timer with Start/Stop/Reset buttons on multiple lines
    By drememagik in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2017, 07:51 PM
  5. Need Countdown Timer in Excel with automatic reset to pre-determined value
    By sbowen1310 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2017, 06:19 PM
  6. Progress indicator or countdown timer while refresh macro is running
    By DanGres in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2014, 09:21 PM
  7. Countdown Timer Pause and Resume Button
    By table83 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2010, 08:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1