leegold2
Technical User
- Oct 10, 2004
- 116
Hi,
I'm new to VB and VBA. Say a loop like this:
I need to initialize an application before I can start working with it. The while loop test will be true until the app is ready then the loop will exit and the code will continue.
What I'm looking for is the proper widget like a progress bar to show while I'm in the loop. If I used a msgbox I assume it remain even after the loop exits. I'm looking for the way to show a widget while I'm in the loop, then the widget disappears when I get past the loop?
Thanks,
Lee G.
I'm new to VB and VBA. Say a loop like this:
Code:
Sub While_loop()
...some code to start an application...
While Not Application.Initialized()
'Show a progress bar or something like that
Wend
'Now do some stuff
...more code...
End Sub
What I'm looking for is the proper widget like a progress bar to show while I'm in the loop. If I used a msgbox I assume it remain even after the loop exits. I'm looking for the way to show a widget while I'm in the loop, then the widget disappears when I get past the loop?
Thanks,
Lee G.