+ Reply to Thread
Results 1 to 4 of 4

Cannot Open New Spreadsheets While Stopwatch Macro is Running

  1. #1
    Registered User
    Join Date
    07-22-2015
    Location
    Florida, USA
    MS-Off Ver
    2013 Pro
    Posts
    3

    Cannot Open New Spreadsheets While Stopwatch Macro is Running

    I am stumped on how I can fix my macro to allow other spreadsheets to be opened while I run my macro for a stopwatch in the background. The purpose of this stopwatch is to time how long it takes to complete other tasks so it is pivotal to be able to run other spreadsheets. Any help would be appreciated!

  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: Cannot Open New Spreadsheets While Stopwatch Macro is Running

    Hello isabela1214,

    Without seeing your code I can't be sure this will work but give it a try.

    At the beginning of your Stopwatch macro add the following statement:
    Please Login or Register  to view this content.
    This should allow the macro to yield to other system processes and inputs.
    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
    07-22-2015
    Location
    Florida, USA
    MS-Off Ver
    2013 Pro
    Posts
    3

    Re: Cannot Open New Spreadsheets While Stopwatch Macro is Running

    Quote Originally Posted by Leith Ross View Post
    Hello isabela1214,

    Without seeing your code I can't be sure this will work but give it a try.

    At the beginning of your Stopwatch macro add the following statement:
    Please Login or Register  to view this content.
    This should allow the macro to yield to other system processes and inputs.
    Thanks Leith.
    Here is my code. Where should I insert your suggestion?
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-13-2011
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Cannot Open New Spreadsheets While Stopwatch Macro is Running

    Hi All, why not have a macro button to stamp time (Now) for the start then at the end another button to stamp "Stop", then a formula to calculate the difference, by doing this no macro is running

+ 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. Cannot open other files while running stopwatch macro
    By isabela1214 in forum Hello..Introduce yourself
    Replies: 8
    Last Post: 09-03-2015, 12:00 AM
  2. Running stopwatch in background while working on other workbooks
    By Heidi K. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2014, 06:14 AM
  3. Error 424 when running stopwatch
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2012, 09:24 AM
  4. Running macro in another open workbook
    By prefix in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-02-2010, 09:02 AM
  5. running a macro on open of workbook
    By fluffy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2008, 09:46 AM
  6. Replies: 7
    Last Post: 04-06-2006, 08:35 PM
  7. [SOLVED] Auto Running a macro on open
    By Jamie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2005, 01:06 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