chrisaroundtown
Technical User
I have a progress bar on a form which I show at the start of my code, I have set it to update the progress bar value at the end of my loop. The problem is that the bar isn't actually updating as I have turned screen updating off. Is there anyway to have only the progress bar updating without the rest of the screen updating? Is there a better way to do this?
Here is what I have,
ProgressForm.Hhow
Application.ScreenUpdating = False
For i = 1 to 100
' a whole bunch of things happens here
ProgressFRM.ProgressBar1.Value = i
Next i
ProgressForm.Hide
Application.ScreenUpdating = True
Here is what I have,
ProgressForm.Hhow
Application.ScreenUpdating = False
For i = 1 to 100
' a whole bunch of things happens here
ProgressFRM.ProgressBar1.Value = i
Next i
ProgressForm.Hide
Application.ScreenUpdating = True