I need to halt my code when a certain Form is open....
When you show a MsgBox the code execution halts.
I want this to happen with a certain form aswell...when it's closed the code execution should continue.
Printable View
I need to halt my code when a certain Form is open....
When you show a MsgBox the code execution halts.
I want this to happen with a certain form aswell...when it's closed the code execution should continue.
Form that opens the other form
[Highlight=VB]
Private Sub cmdOpenForm_Click()
MsgBox "Opening...."
Form2.Show vbModal, Me
MsgBox "Closed"
End Sub
[Highlight=VB]
Thanks a lot! Worked fine