Embeding pic or doc in outlook message from access (VBA)

G

Guest

I'm trying to send e-mails from access. Sending them and cofiguring the
message is done. The problem is to embed a pic or doc in the message body not
as attachment. I don't want to send the pic or doc as attachment I need it
embeded. Is there a way to do this with VBA from access?
 
S

Sue Mosher [MVP-Outlook]

See http://www.outlookcode.com/d/code/htmlimg.htm for sample code to embed a picture.

There's no programmatic way to embed a document and have it display inline. You could, however, set th HTMLBody of an Outlook message to the fully tagged HTML content you want to display. There may be other possibilities depending on the Office version and what type of document you're working with.

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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