+ Reply to Thread
Results 1 to 4 of 4

Status bar progress indicator stops updating part way through code execution.

  1. #1
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Status bar progress indicator stops updating part way through code execution.

    I am using the status bar to show progress to user. However, part way through the code execution, it stops. For example, I have 30000 lines of data it is going through. It stops giving updates at about record number 18000, even though the code is still running. Any ideas as to why it is doing this? Thanks
    Please Login or Register  to view this content.
    Last edited by maacmaac; 01-08-2012 at 06:52 PM.

  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: Status bar progress indicator stops updating part way through code execution.

    Hello maacmaac,

    My suspicion is the amount of memory being used. I have experienced this a few times with large data sets. There just doesn't seem to be enough memory available to allow the screen to update properly. Since you are using a Dictionary object, you could remove the record after you are done processing it. This would save a lot of memory if you can take this approach.
    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
    Valued Forum Contributor
    Join Date
    11-20-2003
    MS-Off Ver
    2010, 2016
    Posts
    1,173

    Re: Status bar progress indicator stops updating part way through code execution.

    Makes sense. I can't really remove the record until the end. Thanks

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Status bar progress indicator stops updating part way through code execution.

    or
    ??


    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)

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