Need haelp.
In my Form_load() subroutine I check for certain things and want to start the GUI part (the form) only if the conditions met.
If the condition is not met, I issue the MsgBox and try to exit, something like this:
This doesn't work. After "Unload Me", the Form_Load() starts again, and again, and...
Any suggestions? Thanks in advance!
In my Form_load() subroutine I check for certain things and want to start the GUI part (the form) only if the conditions met.
If the condition is not met, I issue the MsgBox and try to exit, something like this:
Code:
If <condition> then
MsgBox "..."
Unload Me
End If
This doesn't work. After "Unload Me", the Form_Load() starts again, and again, and...
Any suggestions? Thanks in advance!