+ Reply to Thread
Results 1 to 3 of 3

Long Running Macro Page Flickering

  1. #1
    Registered User
    Join Date
    10-02-2008
    Location
    Michigan
    Posts
    68

    Long Running Macro Page Flickering

    I have a macro that does calculations that take a long time to run. The macro accesses and switches between many worksheets while running. Is there a way to prevent Excel for repainting and switching worksheets every time a new one is accessed? I would like to have a main worksheet that stays up front so that I can show status information about the running Macro.

    Thanks,
    Bob Hiller

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Page flickering

    Hi

    At the beginning of your macro use
    Please Login or Register  to view this content.
    and at the end
    Please Login or Register  to view this content.
    Regards

    Jeff

  3. #3
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi Bob,

    It is generally un-necessary to "select" or to "activate" before performing an action in code. If you are able to post your code (or an example file) someone may be able to suggest ways of optimising it for you.

    Regarding your "display status info in the main sheet" you may find the below links interesting...

    http://spreadsheetpage.com/index.php...ess_indicator/

    and possibly a jackpot on variety of examples & further links:
    http://www.dailydoseofexcel.com/arch.../progress-bar/

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

+ 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