progressbar for dummies

kendel

Board Regular
Joined
Mar 2, 2010
Messages
133
Hello,
There's so much information regarding this, and all I've found requires more knowledge than I have.
Please walk me thru it:
1. create the progressbar. Look like a file saving. simple, no text, no bells no whistles. Totally clueless here! VB editor? Worksheet code? Where to begin?
2. embed it into my macros, so it's only visible when I run the macros using a keyboard shortcut.

I thought it'd be simple but the more I researched it the more confused I am. Hehe, if you've run across me before you'll see that that is a common thread in all my inquiries.
The more I learn the more I find that I want to learn.

How about a MrExcel Vs Excel is Fun YouTube dueling podcast?!! Then there will forever be the definitive answer to the Progressbar question!!!


Thanks for any help,
Kendel (WinXP,Excel 2007 at work; Win7, Excel 2010 at home)
 
Last edited:

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hey Benson,
When I put the code into the macro, no progressbar.
Did we miss step 1? or is the progressbar self creating and I put it in the wrong place? I guessed just before 'next i'. I guess my options here are: before 'next i'
before 'if'
or after 'For i'.
Thanks again!
I am so dreaming that this will be as painless as it seems.
Kendel


Hi,
You will need to add the progress bar control. with the loop be something like
Code:
On Local Error Resume Next
    ProgressBar1.Min = 0
    ProgressBar1.max = ProgressMax + 1
 
For i something something

    ProgressBar1.Value = ProgressBar1.Value + 1
'rest of your code in loop
 
next i
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,319
Members
452,905
Latest member
deadwings

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