ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   BCC global distribution list (https://www.excelbanter.com/excel-programming/395483-bcc-global-distribution-list.html)

JoshC

BCC global distribution list
 
i am sending a message in vba and the part of the code i am having issues
with is as follows:
With OutMail
.To = ""
.CC = ""
.BCC = ""
.Subject = "subject"
.HTMLBody = RangetoHTML(rng)
.Display

i cannot figure out how to BCC a global distribution list in this code.
does anyone have any ideas? thanks

Ron de Bruin

BCC global distribution list
 
See the Tips page
http://www.rondebruin.nl/mail/tips2.htm

Or Send to Outlook Distribution Group
Instead of .To " use

.Recipients.Add "GroupName"



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"JoshC" wrote in message ...
i am sending a message in vba and the part of the code i am having issues
with is as follows:
With OutMail
.To = ""
.CC = ""
.BCC = ""
.Subject = "subject"
.HTMLBody = RangetoHTML(rng)
.Display

i cannot figure out how to BCC a global distribution list in this code.
does anyone have any ideas? thanks


Ron de Bruin

BCC global distribution list
 
Oops: You must add a Type for BCC (To is default)
See example in the VBA help

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Ron de Bruin" wrote in message ...
See the Tips page
http://www.rondebruin.nl/mail/tips2.htm

Or Send to Outlook Distribution Group
Instead of .To " use

.Recipients.Add "GroupName"



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"JoshC" wrote in message ...
i am sending a message in vba and the part of the code i am having issues
with is as follows:
With OutMail
.To = ""
.CC = ""
.BCC = ""
.Subject = "subject"
.HTMLBody = RangetoHTML(rng)
.Display

i cannot figure out how to BCC a global distribution list in this code.
does anyone have any ideas? thanks



All times are GMT +1. The time now is 04:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com