I need to halt code when the user selects "cancel" in a msgbox. I try
,
and the code halts, but the program also exits itself. Same with
,
but with "Stop", first there is a dialog box stating "Stop encountered".
no good, since the procedure is nested inside another. The nested procedure halts, but the 'parent' procedure does not.
Thanks for your help. [sig][/sig]
Code:
End
and the code halts, but the program also exits itself. Same with
Code:
Stop
but with "Stop", first there is a dialog box stating "Stop encountered".
Code:
Exit Sub
Thanks for your help. [sig][/sig]