Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've made a progress bar using John Walkenbach's template. I don't
show the progress bar right away, so my code looks like this: Sub MySub() 'some code frmProgressBar.Show 'more code End Sub When I show the userform, it gets stuck in the UserForm_activate event. My question is, can I return to the "more code" section above, or do I have to break my code up like this: Sub MySub1() 'some code frmProgressBar.Show End Sub Sub UserForm_activate() '(in code module for UserForm) Call MySub2 End Sub Sub MySub2() 'more code End Sub Do I have to break up my main procedure like this? Seems pretty tedious, and I'm not a fan of breaking my main code into two sub procedures, but I'll do it if I have to. Thanks in advance for your help. As a follow-up, under this structure when I "Unload frmProgressBar" from within MySub2, will the code progress back through the "End Sub" of MySub1 as it ends? (Just curious.) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Travel Expense report | Excel Discussion (Misc queries) | |||
Time it took to travel | Excel Worksheet Functions | |||
Travel time problem | Excel Worksheet Functions | |||
travel expenses by month | Excel Discussion (Misc queries) | |||
UserForm_Activate not found | Excel Programming |