Automate Emailing an Access Report through Outlook (1 Viewer)

jdp103

Registered User.
Local time
Today, 06:31
Joined
Sep 26, 2003
Messages
46
I have a report in my access db that I would like to just click a button and have it automatically send to a user. I am new to VB and can't figure out the code to do it. Can anyone help? :confused:
 

FoFa

Registered User.
Local time
Today, 05:31
Joined
Jan 29, 2003
Messages
3,672
DoCmd.SendObject acSendReport, "Main_Report", acFormatRTF, "You@Domain.com", , , "Report Title", "See attached File", False
 

jdp103

Registered User.
Local time
Today, 06:31
Joined
Sep 26, 2003
Messages
46
Worked BEAUTIFULLY! THANK YOU!!!
 

Users who are viewing this thread

Top Bottom