e-mailing reports - outlook security waring?

wilkob

Registered User.
Local time
Tomorrow, 00:06
Joined
Jan 10, 2005
Messages
86
I am finally able to e-mail a query to multiple recipients, but now I am getting an security warning from outlook.

Is there a way I can add some code to below code to avoid this message?

Private Sub Command32_Click()
DoCmd.SendObject acQuery, "Sales Report", acFormatXLS, "joe@hotmail.com", "", "", "Sales report", "see attached spreadsheet", False, ""
End Sub
 

Users who are viewing this thread

Back
Top Bottom