Macro to send email to include CC Recipients

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,566
Office Version
  1. 2021
Platform
  1. Windows
I have a macro to email a sheet. The recipients are on sheet "Summary" In col Z1:Z3 and the email addresses in AA1:AA3


I am struggling to get the email to display the email address in outlook for the recipient to be CC'd


Code:
 With OutMail
            .To = Join(Application.Transpose(Range("AA1:AA3").Value), ";")

            .CC = Join(Application.Range("AA4:AA4").Value)


The .to extract the recipients perfectly. it is only the .CC where the email address is not being extracted on the outlook under C


It would be appreciated if someone could kindly assist me
 
Last edited:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi Howard
Isn't it just:

Code:
 With OutMail
            .To = Join(Application.Transpose(Range("AA1:AA3").Value), ";")


            .CC = Range("AA4").Value
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,294
Messages
6,124,101
Members
449,142
Latest member
championbowler

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top