Share via

Problem with SendObject in Access runtime 2010 with Outlook 2013

Anonymous
2014-01-21T12:25:12+00:00

Hi

I have an application that runs on Access 2010 runtime. In that application I use "DoCmd.SendObject" to send mail from the default mail client. I has worked fine with Outlook 2007 and 2010, but when I installed outlook 2013 it gave me this error "sendobject isn't available now".

Its like its trying to use Outlook 2010 instead of 2013. Any ideas on how to debug solve this.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Most helpful
  1. Anonymous
    2015-12-14T00:41:54+00:00

    Did you read my post? Access can't see later versions of Outlook. You have to use a work-around with MAPI calls. vbMAPI is the only simple solution I have found that does not require DLL registration.

    Was this answer helpful?

    0 comments No comments
  2. ScottGem 68,830 Reputation points Volunteer Moderator
    2015-12-13T23:17:55+00:00

    Please don't piggyback your question on another thread. Use the Participate option and post your own question giving details.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-12-13T22:21:26+00:00

    I have the same problem, it gives me an error of runtime 4056

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-01-21T19:12:25+00:00

    That's one big drawback when not using a version of Access that is equal to or higher than the rest of the suite. Use Access 2013 runtime or get www.EverythingAccess.com's VBMapi. I'm not connected with the company; I just know it worked for me when I had Access 2003 running on a computer where the rest of the suite was 2010. What it does is plunk some classes into your code that wraps the Outlook object so older versions of access can see it.

    Was this answer helpful?

    0 comments No comments
  5. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2014-01-21T14:00:45+00:00

    "Isn't available now"? That seems to indicate your app is in an unusual state where it could not do it.

    Try this: open the Immediate window (Ctrl+G) and type in a simple DoCmd.SendObject statement. Does it send?

    Was this answer helpful?

    0 comments No comments