joshryanhr
Technical User
How do you make a report be the body of an email. I am using the following code to send it as an attachment, but I need it to be the body instead. Also I need the to and cc to generate from a field i have on a form.
Private Sub Command129_Click()
DoCmd.SendObject acSendReport, "Query for disputes report", acFormatSNP, Me.emailto, Me.email2, , "Dispute Update", Open Attatchment to view update.", True
End Sub
Private Sub Command129_Click()
DoCmd.SendObject acSendReport, "Query for disputes report", acFormatSNP, Me.emailto, Me.email2, , "Dispute Update", Open Attatchment to view update.", True
End Sub