Progressbar inside userform
I am trying make a progress bar inside a userform, instead of having a seperate progressbar, because this seems to be unreliable in the respect if it will be on top or in the background. So the progressbar is working fine, however it makes the whole userform repaint for every update the progressbar does. Is it possible to just refresh the progressbar instead of the whole userform? My current code do look like this: Public Sub progress(pctCompl As Single) Me.Text.caption = Format(pctCompl, "##") & "% Completed" Me.Bar.width = Round(pctCompl * 10, 5) If Me.Bar.width Mod 20 = 0# Then Me.Repaint