Email first report in HTML and second in Excell

S

StephanieH

I'm currently using the following code to send a Summary report in HTML
format in the body of an email. Is it possible to amend the code to send a
detail report in Excel format below the first report?

DoCmd.SendObject acSendReport, "rpt_Summary Internal Assigns by Balance",
acFormatHTML, "Tom Davis", , , _
"Placement Summary " & MyMonth, ""
 
P

pietlinden

I'm currently using the following code to send a Summary report in HTML
format in the body of an email.  Is it possible to amend the code to send a
detail report in Excel format below the first report?  

 DoCmd.SendObject acSendReport, "rpt_Summary Internal Assigns by Balance",
acFormatHTML, "Tom Davis", , , _
    "Placement Summary " & MyMonth, ""

No. SendObject is severely limited in that respect. If you want to
add the second part, you need to use some other method. usually
automating your e-mail client either directly or through something
like CDOSys.
 

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


Top