Slow down a Progress Bar...

ElEdwards

Board Regular
Joined
Aug 29, 2002
Messages
220
I added a Progress Bar to a file purely for cosmetic purposes, just so my users would have an on-screen indication that something was taking place. (Trust me, most of my users are barely Windows-savvy, much less Excel-savvy....so I have to make things really simple.)

I used a few For...Next loops to slow things down like this:
For a = 1 to 10000
For b = 1 to 1000
For c = 1 to 1000
Next c
Next b
Next a

This made things go slowly enough to prevent the Progress Bar from zipping past too quickly but it really seems .... inelegant.

What other methods could be used for slowing things down?

Thanks! :)
El
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top