Question

I need to create the progress bar on a user form. For inserting progress bar, opened toolbox , right clicked on it and choose “Additional Controls”. (Alternatively, I could go up to the “Tools”/”Additional Controls” menu). But in that list of components, “Microsoft Progress Bar Control 6.0 (SP4)” is missing. I am using Microsoft Office 2010 and Windows 7. Please help me

Was it helpful?

Solution

Two suggestions :)

1) Search your pc for MSCOMCTL.Ocx. If you find it then register it by clicking on Windows Start Button ~~> Run and then typing this text and pressing Enter

regsvr32 C:\Windows\System32\MSCOMCTL.Ocx

I am assuming that the ocx is in C:\Windows\System32

If you don't have that then please download it from here and then repeat the above steps.

Once done, you will now be able to use the control.

2) Please see this link. Sometimes you don't need a progressbar control ;)

Topic: VBA - Working with Scroll Bars - The most simplest way

Link: http://www.vbforums.com/showthread.php?t=511916

HTH

Sid

OTHER TIPS

You can make a makeshift loading bar whit any of the controlls you allready got, by simply useing width.

Example would be useing a label inside a frame, the frame will work as borders for it, so the top and left can be 0, then the total lenght of the frame works as max length for the label.. i think by now you see where im going whit this, basicly now all you gota do is come up whit a counter basicly a loop that counts up to max frame length :)

But, like i said whit creativity, you can use buttons, the form itself, scrollbar basicly contains itself if you dont mind it beeing a unclickable (scroll) button moveing across.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top