Consulting

Results 1 to 3 of 3

Thread: Progress Bar

  1. #1

    Question Progress Bar

    Hi All,

    I have been trying to work out how to do a progress bar for ages now, and don't feel I'm getting any closer, so I thought I'd see if there is anyone in here that can help!

    I get the bit about how to create the userform, and have checked out an example on the Microsoft site, which I've also seen on other sites like this one. But, what I am trying to do is run a macro that will filter a few sheets, and then copy the data from each sheet onto a blank sheet that fits the criteria. That I bit I can also do, it's just how to get the progress bar to update, as this isn't a loop, which seems to be a pre-requisite.

    Any ideas?
    We're a Kingdom, and we're United!!

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by Dowsey1977
    Hi All,

    I have been trying to work out how to do a progress bar for ages now, and don't feel I'm getting any closer, so I thought I'd see if there is anyone in here that can help!

    I get the bit about how to create the userform, and have checked out an example on the Microsoft site, which I've also seen on other sites like this one. But, what I am trying to do is run a macro that will filter a few sheets, and then copy the data from each sheet onto a blank sheet that fits the criteria. That I bit I can also do, it's just how to get the progress bar to update, as this isn't a loop, which seems to be a pre-requisite.
    It is not a loop that is a pre-requisite, but just some interrupt point in the code where you can call the meter update. If you are filtering a few sheets, and copying data, you have numerous interrupt points at which you can insert an update. A loop is just most convenient as it is the thing that usually takes time, and usually easy to work out.

  3. #3
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Have you checked out the Hall of Fame? mvidas has a great solution for a progress bar .. http://vbaexpress.com/forum/showthread.php?t=5833

    There is also some good stuff in our KB about progress bars.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •