bonekrusher
Registered User.
- Local time
- Today, 15:41
- Joined
- Nov 19, 2005
- Messages
- 266
Hi All,
I am looking at being able to attach more than one report to an email (SendObject). I've search the forum and I am not having luck. This is what i have so far. I want to attach "report1" and "Report2" to the email.
I am looking at being able to attach more than one report to an email (SendObject). I've search the forum and I am not having luck. This is what i have so far. I want to attach "report1" and "Report2" to the email.
Code:
Private Sub Command10_Click()
On Error GoTo Err_Command10_Click
Dim stDocName As String
Dim stDocname2 As String
Dim Both As String
DoCmd.SendObject acReport, "report1", acFormatRTF, "user@domain.com", "", "", "Audit Findings"
Exit_Command10_Click:
Exit Sub
Err_Command10_Click:
MsgBox Err.Description
Resume Exit_Command10_Click
End Sub