+ Reply to Thread
Results 1 to 3 of 3

Progress Bar while Macro is Running

  1. #1
    Registered User
    Join Date
    07-31-2013
    Location
    Gilbert, AZ
    MS-Off Ver
    Excel 2016
    Posts
    65

    Progress Bar while Macro is Running

    I have a macro that takes about a minute to run. I would like to add a progress bar to appear once the macro starts running. There are no loops in the macro. What are my options?

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Progress Bar while Macro is Running

    Why does it take a minute to run?

    A simple solution would be to indicate the status using the status bar in the lower left. Use a percentage or a text-bar like the example below. Put each status bar change at various points in your code.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    07-31-2013
    Location
    Gilbert, AZ
    MS-Off Ver
    Excel 2016
    Posts
    65

    Re: Progress Bar while Macro is Running

    Thanks for your help...your method worked out just fine. In the process I cleaned up the macro so that it now runs for 20 seconds. Between that and your progress coding it all works well. Thx for your help!

  4. #4
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Progress Bar while Macro is Running

    Change the "20" to "600" if you want it to take a minute...


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Xx7; 03-11-2014 at 02:18 PM.

+ 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. How to show a Progress bar while macro is running in background?
    By pradeepjassal in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2015, 07:47 PM
  2. Status/Progress Bar while running macro
    By tnuis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2013, 10:58 AM
  3. long running macro - progress indicator tips needed
    By jmac1947 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2012, 01:02 AM
  4. progress box while macro is running
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2005, 06:05 AM
  5. [SOLVED] how do you set up a progress bar when running a macro in excel?
    By Neil Hopkinson in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-03-2005, 06: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