Hey all....


How can I stop code from executing when a from is show? Like in a commondialog and a msgbox?


Code:
Private Sub Form_Load()

frm2.Visible = True


'other code here...
How could I do it so that code stops executing after frm2 is shown, and continue after its hidden/unloaded?

Sunny