HTML Email Code

  • Thread starter Thread starter Lamar
  • Start date Start date
L

Lamar

In MS Access 97 I had command button that would use "SendObject" to send an
email with report. The report ("Document') would be in the body of the
email. It would be pasted in the message of the email. When the database
got converted to 2003 then the report would attached to the email. I want
where it was pasted in not attached as a HTML document. I tried everything
but I can not get it work.
Below is my code. Thanks for any help.

stDocName = "Document"

DoCmd.SendObject acSendReport, stDocName, acFormatHTML, _
"DL Records Center", , , _
"Pull for Non-mon file", , True
 
Back
Top