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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting multiple access reports to e-mail

Status
Not open for further replies.

Mrogersy

Programmer
Jun 17, 2005
7
US
I am trying to export 5 reports (.xls format) from Access to a new e-mail message in outlook. I am struggling on the code (VB) to add multiple files to one e-mail. Does anybody know if this can be done, if so, do you have some sample code that may be of assitance?

Mrogersy

 
Have a look at the Add method of the Outlook.MailItem.Attachments object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Is the add method in the MS Access VB code, or in MS Outlook VB code?
 
In the code that instantiate the MailItem object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top