Changing email addresses in Outlook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

have a form that emails a daily report. I am sending the email with this:
DoCmd.SendObject acSendReport, Screen.ActiveReport.Name, acFormatSNPI
My question is: Is there a way to set the email addresses after or when
this is called? Since they are both Microsoft products I fiqure there is a
way.
 
Here is the sendobject syntax from online help:
SendObject(ObjectType, ObjectName, OutputFormat, To, Cc, Bcc, Subject,
MessageText, EditMessage, TemplateFile)
JasonT said:
have a form that emails a daily report. I am sending the email with this: Add to this code:
DoCmd.SendObject acSendReport, Screen.ActiveReport.Name, acFormatSNPI
DoCmd.SendObject acSendReport, Screen.ActiveReport.Name, acFormatSNPI ,"John
Doe;Jeff Smith"
seperate names with semicolon.(names must be in outlook address book or full
e-mail address used.)
 
Back
Top