+ Reply to Thread
Results 1 to 3 of 3

Count Down Timer - force times out when using another workbook

  1. #1
    Registered User
    Join Date
    05-09-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Count Down Timer - force times out when using another workbook

    Hello fellow Excel nerds like me,

    I built this workbook that has a count down timer for my employees (so that they can keep track of their own time spent on certain projects). This is the rough draft, and it's working great...except whenever I toggle to another excel work book (alt + tab) the "time is up" pop-up message box appears prematurely and pauses the timer. You might have to try it out for yourself to see what I'm talking about. Keep a seperate excel work book open while you also have mine open, and toggle to the other spread sheet.

    This also happens when the timer is running and then I open a new work book seperately. I'm not sure if there's anything different I can do in my coding to prevent this or if I'm just going to have to live with this glitch. See attached file.

    Thanks for any help! I love this forum!


    CountDown Timer (test).xlsm
    Last edited by gjohn282; 03-08-2012 at 01:44 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Count Down Timer - force times out when using another workbook

    Hello gjohn282,

    This behaviour is by design. The Application.OnTime method is turned off (if running) whenever you switch processes. If this did not happen then Excel would crash and possiblely Windows as well.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    05-09-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Count Down Timer - force times out when using another workbook

    Darn, but now I know! Thanks Leith! I'll simply let the users know about this so they are aware.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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