Sending Email

B

Bill Davis

I am using the following code to send and email to 3
people, what i would like to do is pull the address from
a distribution list form my address book and populate the
To and CC. I am pulling the customer account number
Me.txbcustomer_account into the subject but I would like
to add the order # txtorder_number and having problems
getting the code correct. Can someone help.
Thank you

Dim stDocName As String
StDocName ="Daily"

DoCmd.SendObject acSendReport, stDocName, , "mhall;
srose", "jbennett", , Me.txbcustomer_account & _
, "Daily Escalation, Please review.", , False
 
B

Bill

Bill Davis said:
I am using the following code to send and email to 3
people, what i would like to do is pull the address from
a distribution list form my address book and populate the
To and CC. I am pulling the customer account number
Me.txbcustomer_account into the subject but I would like
to add the order # txtorder_number and having problems
getting the code correct. Can someone help.
Thank you

Dim stDocName As String
StDocName ="Daily"

DoCmd.SendObject acSendReport, stDocName, , "mhall;
srose", "jbennett", , Me.txbcustomer_account & " " & txtorder_number _
, "Daily Escalation, Please review.", , False
 

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