SendObject action cancelled error

J

JMorrell

how do I bypass this error?

I'm sending an email through the DoCmd.SendObject. If the user changes his
mind and kills the email form, the error pops up. How to cancel it?

tia,
 
A

andsathpa

A couple of ways: On Error Resume Next; DoCmd.SetWarnings False, then set
back to True.
 
Top