+ Reply to Thread
Results 1 to 2 of 2

Application.ontime, Running time increasing.

Hybrid View

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Göteborg, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    25

    Application.ontime, Running time increasing.

    Dear Forum!

    I have a macro that are supposed to run every 20 minutes to update the workbook with new information from a bunch of other workbooks, the update itself usually takes about 10 minutes. When the update is done, application.ontime now + timevalue is used to shedule a new update.

    This routine has worked well for over a year but now the running time for the update increases for everytime. 10 minutes first time then 12 min. then 14 etc. etc.

    This happened of course on my vacation so I would like to fix it as soon as I get back. Does anyone have any ideas of what might have happened?

    //Olle

  2. #2
    Registered User
    Join Date
    11-15-2012
    Location
    Göteborg, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Application.ontime, Running time increasing.

    I think i have found the source of my problem, I recently added a pivottable on a new sheet in the workbooks that I collect data from. The pivottable is then linked to a picture in the main sheet.

    Removing this pivot-table feature seems to eliminate the problem with increasing running time. The tables are fortunately not necessary for my project, but do anyone have a clue why the tables would affect the running time of the application.ontime function??

+ 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. Application.OnTime TimeValue Running at unspecified Times
    By jedahl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2013, 01:07 PM
  2. Application.Ontime running as soon as WB is opened.
    By jasonfish11 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-30-2012, 01:05 PM
  3. Application.Ontime running behind a UserForm
    By Walter12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2012, 01:45 PM
  4. Very interesting Application.OnTime problem. (running two sub simultaneously?)
    By kidd1158 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2012, 02:47 AM
  5. [SOLVED] Open Form (VBA Running) and Application.OnTime
    By Ronald Dodge in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2005, 10:45 AM

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