Here is some code I use to output a report in Snapshot format and then attach it to an e-mail
DoCmd.OpenForm "Please_Wait_Message_(E-Mail)", acNormal, "", "", acReadOnly, acNormal
DoCmd.RepaintObject acForm, "Please_Wait_Message_(E-Mail)"
DoCmd.SetWarnings False
DoCmd.OutputTo acReport, "Devolution_Comparison_Report", "SnapshotFormat(*.snp)", "G:\E&S\Energy\em\Access_Reports\Devolution_Report.snp", False, ""
Set EmailApp = CreateObject("Outlook.Application")
Set NameSpace = EmailApp.GetNamespace("MAPI")
Set EmailSend = EmailApp.CreateItem(0)
EmailSend.To = DLookup("[E-Mail_Address_To]", "Report_Config", "[Lookup_Id]= '" & Me.Criteria_Selection & "'") ' Put email address here
EmailSend.Subject = "Devolution Report: " & Me.Criteria_Selection
EmailSend.Body = "Dear All," & Chr(13) & Chr(13) & "With regard to the Electricity Devolution Pilot Study for the Stopford Building, Please find attached the cost & consumption figures to date," & Chr(13) & "for the " & IIf(Me.Criteria_Selection = "Resource Centre - Biological Science", "Biological Resource Centre", "Faculty of Medicine") & " within the building." & Chr(13) & Chr(13) & "Yours Sincerely" & Chr(13) & "Kevin Corless" & Chr(13) & Chr(13) & Chr(13) & "If you have problems viewing the attached file please install the viewer software attached, if you continue to have problems please contact, Geoff Codd on 57003" & Chr(13) & Chr(13)
EmailSend.Attachments.Add "G:\E&S\Energy\em\Access_Reports\Devolution_Report.snp" ' Change this to match your path
EmailSend.Attachments.Add "G:\E&S\Energy\em\Data\Snapshot_Viewer.zip" ' Change this to match your path
EmailSend.Display ' Remove this line if you don't want to see email
Set EmailApp = Nothing
Set NameSpace = Nothing
Set EmailSend = Nothing
DoCmd.SetWarnings True
DoCmd.Close acForm, "Please_Wait_Message_(E-Mail)"
I hope it helps
Thanks
Geoff