Proc_Exit:
exit sub
Proc_Err:
select case err.number
case 5
msgbox "Custom error message"
case else
msgbox err.descrition
end select
resume Proc_Exit
end sub
so if you get err.number=5 - then user will get a messagebox with "Custome
error message"
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.