Embedded Progress Bars in Forms

SStrange

Board Regular
Joined
Oct 21, 2013
Messages
52
So I have a form I have been working with which brings data from files (mostly excel; some .csv) and populates my tables (clearing old data). There are some file conversions and whatnot as well. The problem is, I want to be able to make this easy to understand for others when things are complete. I would like to add a progress bar beside each button/step showing on the form where people could see that all of the importing and updates are complete. I have a found some code but I was wondering if anyone had anything that they used for this in the past?

Thanks,
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Tubal

New Member
Joined
May 29, 2015
Messages
30
SStrange,

Try using two text boxes. The first should be fixed width, border. The second should be the same height, and same top-left corner, backColor (green), no border. Change the width of the box to match the progress.
 

Micron

Well-known Member
Joined
Jun 3, 2015
Messages
3,294
Office Version
  1. 365
Platform
  1. Windows
A rectangle is often used for this, sometimes along with a textbox like Tubal suggests. It's mostly about what design you prefer since the rectangle is flatter in appearance. You may find that whatever is going on in the background happens too fast for the screen to update your form progress bar, so a pause and form repaint might be required between phases. If you divide the overall width by the number of phases, you can calculate the increments needed, but it will jump from one length to the next, not be a gradual transition like you might be expecting.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,951
Messages
5,834,540
Members
430,295
Latest member
amdis

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
Top