hi
i have looked at many threads about progress bars, but still not sure where the code fits in.
A simple outline of my code looks like this:
first question is, in this basic example, where does one put the progress bar code? that;d be a big step in the right direction.
this particular macro actually runs 7 processes looping 100 times each, all with non-looping code in between
to keep it simple, i was thinking of having a separate userform pop up just prior to each loop along the path. not as nice as one long seamless progress bar, but it is better than nothing.
if there was some way to make the progress of the progress bar dependent on the completion of each routine, this would also be an idea. but even better, if there were a way to not only account for the completion of each macro, but also include the progress of the loops along the way, that'd be amazing
any ideas would be really great.
tx
' cop
i have looked at many threads about progress bars, but still not sure where the code fits in.
A simple outline of my code looks like this:
Code:
sub dothis()
'copy something
'open a workbook
'paste something
Do Until "A1".Value = "100"
'run time consuming macro (s)
Loop
'close a workbook
'the end
first question is, in this basic example, where does one put the progress bar code? that;d be a big step in the right direction.
this particular macro actually runs 7 processes looping 100 times each, all with non-looping code in between
to keep it simple, i was thinking of having a separate userform pop up just prior to each loop along the path. not as nice as one long seamless progress bar, but it is better than nothing.
if there was some way to make the progress of the progress bar dependent on the completion of each routine, this would also be an idea. but even better, if there were a way to not only account for the completion of each macro, but also include the progress of the loops along the way, that'd be amazing
any ideas would be really great.
tx
' cop