I want my program to send me am email when something goes wrong. the program and the handler work fine when i put them in separate files.
But when i join them the code below doesn't seem to work.
On Error Goto MyErrorHandler
My program
.....
.....
MyErrorHandler:
here the code for sending the email
.....
Any ideas how i should solve this problem??
kind regards
jokada
But when i join them the code below doesn't seem to work.
On Error Goto MyErrorHandler
My program
.....
.....
MyErrorHandler:
here the code for sending the email
.....
Any ideas how i should solve this problem??
kind regards
jokada