SendObjects - Catching the Cancel

M

Michelle

Quickie question, I get the message "SendObject Action was
cancelled" when I opt not to send the result of
cmdSendObject. How can I change the resulting message (it
doesn't actually generate a trappable error?) so that it
sounds a bit more user-friendly?

Many thanks
Michelle
 
A

Arvin Meyer

I can't repeat your behavior in several different versions of Access. When
SendObject is involked, it opens an email. If you elect not to send the
email, the error message, if there is one, is in the email program.

If this is not what is happening, you might try using:

On error resume next

in your code, or:

On error GoTo 0
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

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.

Ask a Question

Top