Consulting

Results 1 to 10 of 10

Thread: Countdown timer

  1. #1
    VBAX Regular
    Joined
    Jul 2007
    Posts
    26
    Location

    Countdown timer

    Is there a way to make a countdown live? That is, can you make the cell tick down the seconds in real time? If cell A1 has days, A2 has hours, A3 has minutes and A4 has seconds....I'd like to be able to see the numbers actually moving in real time, is that possible?

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    How about this?
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Regular
    Joined
    Jul 2007
    Posts
    26
    Location
    It is only a few cells. One for days, another for hours (days cel * 24), another for minutes (hours cell * 60) and one more for seconds (minutes cell * 60)

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Did you check the link?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Regular
    Joined
    Jul 2007
    Posts
    26
    Location
    I am not able to download that workbook. Any way someone could provide the code in text?

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Tell us why you couldn't download it and we can help you. I belive it is quite a lot of code as I recall.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  7. #7
    VBAX Regular
    Joined
    Jul 2007
    Posts
    26
    Location
    This code is very hard to manipulate, especially since it ticks up and not down. I have the cells calculated off of each other (different cell for seconds, minutes, hours and days). But want each to count down accordingly: seconds count down every second and so on...Any suggestions?

  8. #8
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    That is a bit different from not being able to downlkoad, and whilst I disagree that the code is hard to manipulatre (it is extremely well-written <g>), here is a simpler version
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  9. #9
    VBAX Regular
    Joined
    Jul 2007
    Posts
    26
    Location
    Sorry I guess I am a bit of a VBA novice. However, xld you make things very easy. Code worked flawlessly, thank you.

  10. #10
    Interesting.. always confused on the timer

Posting Permissions

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