Using VBA to load the CC line on an Outlook email

G

Glenn Suggs

Can someone please help me in loading the CC line in an email from VBA in
Access? I have the following for the "To" line that works fine. Is there an
equivalent statement to load the CC?

Dim olRecipient As Recipient
strEmailRecipient = "(e-mail address removed)"

Set olRecipient = olMessage.Recipients.Add(strEmailRecipient)

Thanks in advance
 
K

Ken Slovak - [MVP - Outlook]

Set olRecipient = olMessage.Recipients.Add(strEmailRecipient)
olRecipient.Type = olCC ' or olTo or olBCC
 

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