Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating OE e-mail from VBA won't add attachment.

Status
Not open for further replies.

Kraeg

Programmer
Jun 27, 2002
113
AU
I've got code in an Access database that creates an e-mail using the Outlook library. However, I need it to also be able to use Outlook Express.
I found this code (thanks DougP):
that works, except it won't attach the file I want to send.

I checked the OE mail message command line; it takes To, CC, BCC, Subject and Body, but no attachments.

Does anyone know any way of attaching a file (using VBA)?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top