Changing email addresses in Outlook

J

JasonT

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.
 
B

Bill

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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top