I'm trying to send an existing Access Report as an attachment via MS Outlook. The SendObject method is not an option.
Since, the report i'm trying to send is an access object it is not stored at a particular path on the PC/network.
Any help would be greatly appreciated! This is what I have tried so far but have been running out of options...
Since, the report i'm trying to send is an access object it is not stored at a particular path on the PC/network.
Any help would be greatly appreciated! This is what I have tried so far but have been running out of options...
Code:
Dim objOutlook As New Outlook.Application Dim ObjOutlookMsg As Outlook.MailItem Set ObjOutlookMsg = objOutlook.CreateItem(olMailItem) With ObjOutlookMsg .To = aRecipients .Subject = "test" .Body = "hi" .Body = "Body of email" .Attachments = aAttachments ( I believe this is where I need help) .Send End With Set ObjOutlookMsg = Nothing Set objOutlook = Nothing
Comment