+ Reply to Thread
Results 1 to 6 of 6

Need to update progress bar from manual progress % to automatic running %

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Need to update progress bar from manual progress % to automatic running %

    Dear Expert,

    I've attached a file in which I've prepared a final version of the report dump using row data from supporting worksheets. I added a progress bar to my vba coding and didn't know how to connect it to my vba coding in running percent done, so I inserted a manual progress bar in the vba code steps using the google searched code. The progress bar and the code are both working, but the code is still slow in comparison to the data length (I tested it with 15K rows of data and it could be faster), so some modification is required. The progress bar is also working, but the progress is displayed in steps of 0%, 25%, 50%, and 100%, when I want it to show from 1% to 100%. Please help me to fix this two issues in my vba coding.

    Thank you in advance.
    Attached Files Attached Files
    Last edited by Pankaj jaswani; 03-24-2022 at 06:24 AM.

  2. #2
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Need to update progress bar from manual progress % to automatic running %

    Please help me on this post.

  3. #3
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,525

    Re: Need to update progress bar from manual progress % to automatic running %

    The nature of this macro does not allow increments of 1% because there are no loops in the four blocks of the procedure. Theoretically, you could create loops, but the macro would take much longer. I believe you should leave the progress bar display as is.

    Artik

  4. #4
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Need to update progress bar from manual progress % to automatic running %

    Could you help me in creating loop coding based on the existing code? Because I am a newbie in vba coding, I have made only minor changes to the coding provided by the vba expert on this forum. I also want to use a progress bar to show how far the coding has progressed.

  5. #5
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2501
    Posts
    1,438

    Re: Need to update progress bar from manual progress % to automatic running %

    This progress bar will also slow down the overall run time.

    If you must use one then it will be roughly as you have used it already due to the reasons @Artik has already pointed out.

    You could have two loading bars - one for the main part of the code and one for the progress through that part. That being said looking at the code you will have to update both progress bars in the way you already have.

  6. #6
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Need to update progress bar from manual progress % to automatic running %

    Okay! CS

    I will update it the same.

+ 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. Progress bar not linking to Macro progress
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-01-2021, 08:30 PM
  2. [SOLVED] Progress Indicator need to progress along with my code running time
    By Zahid0111 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-04-2020, 12:05 PM
  3. [SOLVED] Message when VBA works; Be patien etc..; Is possible progress bar on progress information?
    By martin81 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-30-2016, 08:43 AM
  4. Replies: 1
    Last Post: 08-06-2014, 10:29 PM
  5. Bar chart or bar graph for construction progress physical progress
    By pvsvprasadcivil in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 01-08-2014, 02:40 AM
  6. Bar chart or bar graph for construction progress physical progress
    By pvsvprasadcivil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2013, 12:41 PM
  7. [SOLVED] NEED Help - How to capture the Event's progress in Progress Bar
    By Sriram in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2006, 07:10 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