I have a function with an Error Handler in which the error occurs after a Dialog is shown
dial is my Dialog object
but the msgbox executes only after I close the Dialog
Any way to get this to show the moment the line is reached ?
sub func
on error goto Handler
dial.execute()
d=0
d= 9/d
exit sub
Handler:
msgbox “Error”
end sub