Ms Access Send Email with Report as Attachment

后端 未结 3 633
傲寒
傲寒 2021-01-06 04:30

Using VBA code builder in MS Access, I have been able to write code that opens Outlook and send me an email with the click of a button. I am having problems with adding an

3条回答
  •  耶瑟儿~
    2021-01-06 04:43

    You can export your report as PDF by email with this:

    DoCmd.SendObject(ObjectType, ObjectName, OutputFormat, To, Cc, Bcc,Subject, MessageText, EditMessage, TemplateFile)
    

提交回复
热议问题