Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribution list from Excel vocegrosso Excel Discussion (Misc queries) 2 March 4th 08 10:11 PM
Excel Distribution list Chris Excel Discussion (Misc queries) 2 December 12th 05 05:40 PM
import from distribution list sal21 Excel Programming 0 November 10th 05 09:41 PM
Is it possible to create distribution list for Outlook? John Elink Excel Programming 2 April 7th 05 09:09 AM
Email distribution list Steve Excel Programming 9 April 22nd 04 09:24 PM


All times are GMT +1. The time now is 12:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"