+ Reply to Thread
Results 1 to 4 of 4

Code to determine how long it took to run VBA

  1. #1
    Forum Contributor
    Join Date
    11-05-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    181

    Code to determine how long it took to run VBA

    Hi All,

    I'm in need of a code that will time how long it takes to run my entire code.

    I expect the code to run for at least 15 hours, so I have to be careful that it doesn't reset at midnight. Any help much appreciated!

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Code to determine how long it took to run VBA

    [.... deleted by me; got a little carried away ....]
    Last edited by joeu2004; 08-15-2016 at 10:31 PM.

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Code to determine how long it took to run VBA

    [.... deleted by me; got a little carried away ....]
    Last edited by joeu2004; 08-15-2016 at 10:32 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Code to determine how long it took to run VBA

    One easiest way to do this is as below:
    Please Login or Register  to view this content.

+ 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. Turning old and long code in to a short code
    By SC5138 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2016, 07:04 AM
  2. [SOLVED] Represent (define?) a section of code with a variable (shorten long code lines)?
    By Gene@action in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2016, 03:59 PM
  3. [SOLVED] =IF and =SUMIF formulas creating long long long data processing times.
    By comp in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 03-26-2014, 02:59 PM
  4. [SOLVED] Like some ideas on improving code on long IF statement used in VBA code please
    By dawatcher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2013, 01:44 PM
  5. Replies: 4
    Last Post: 06-28-2012, 12:42 AM
  6. [SOLVED] To improve Efficiency of code, code running too long
    By andywsw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-19-2012, 05:54 PM

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