E-mail - Error 32001 on closing e-mail window - any way to catch this?

VBKid04
04-16-2004, 04:17 PM
I am using a piece of code to open my default e-mail program using MAPI.

This is fine, and sends email if the user presses the send button.

But if the user should close the e-mail window (the e-mail window of Outlook that is), it throws this error:

Run-time error '32001':
User cancelled process


I had setup an error handler to try and catch this error, but it doesnt seem to be working as the system keeps crashing and throwing up this error.

It is pointing to and highlighting this line of my code as the problem if I close...
[/code]
.Send True
[/code]


Can anyone please help?
Thanks

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum