I usually use Do Until.
You could also use the For..Next statement as well.Code:Do Until Progressbar1.Value = 100 Progressbar1.Value = Progressbar1.Value + 1 DoEvents Loop
Code:For i = 0 to 100 Progressbar1.Value = i DoEvents Next i
|
Results 1 to 6 of 6
Thread: Do While vs. Do untilThreaded View
|
Click Here to Expand Forum to Full Width |