mulitple attachments with doCmd.SendObject

G

Guest

I currently use the following to send an email with an attached report. Is
it possible to attach 2 reports in the SAME email? Thanks

DoCmd.SendObject acSendReport, "[report 1][report 2]", "Snapshot Format",
strTo, strCC, , strSubject, strMsg, False
 
D

Dirk Goldgar

janetb said:
I currently use the following to send an email with an attached
report. Is it possible to attach 2 reports in the SAME email? Thanks

DoCmd.SendObject acSendReport, "[report 1][report 2]", "Snapshot
Format", strTo, strCC, , strSubject, strMsg, False

It's possible, but not with SendObject. See Tony Toews' Access Email
FAQ page for alternative approaches:

http://www.granite.ab.ca/access/email.htm
 
Joined
Mar 13, 2012
Messages
1
Reaction score
0
Hi, am using "DoCmd.SendObject" in ms access for automated mail purpose with attachment. but i every time will change "to" address and "cc" address. so i request get to and cc address from ms access table field . if possbile pls help
 

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

Similar Threads

Recordset getRows to string 6
Email Body Blank 1
Task Scheduler 5
Getrows array 3
Send email ? 4
Email endless loop 4
sending mail from within access 9
2nd db connection from 12/21 1

Top