Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 3
Default Automatic CC Entry in Sending Mail

Is there a VBA procedure that I can use in one Office
product (Word, Excel, etc) that will instruct Outlook to
automatically CC (i.e. ) whenever an
e-mail is sent via Outlook? Or, do I have to do that
within Outlook itself?

Sam

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Automatic CC Entry in Sending Mail

I have examples on my website Sam
http://www.rondebruin.nl/sendmail.htm

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Sam" wrote in message ...
Is there a VBA procedure that I can use in one Office
product (Word, Excel, etc) that will instruct Outlook to
automatically CC (i.e. ) whenever an
e-mail is sent via Outlook? Or, do I have to do that
within Outlook itself?

Sam



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Automatic CC Entry in Sending Mail

Sam,

The Workbooks.Sendmail method only allows setting the TO field.

BUT if you're sending the worksheet.. THEN this would work

Sub SendSheet()
With ActiveSheet
With .MailEnvelope
With .Item
.TO = "email1;email2"
.CC = "email3;email4"
.BCC = "email5;email6"
.Subject = "This sheet concerns..subject"
End With
.Parent.EnvelopeVisible = True
.Introduction = "This is the intro line..."
'.Send
End With
End With
End Sub

for LOTS more stuff re excel and outlook you must visit
a fellow countryman of mine..

www.rondebruin.nl

he's our mailing guru here :)



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Sam" wrote:

Is there a VBA procedure that I can use in one Office
product (Word, Excel, etc) that will instruct Outlook to
automatically CC (i.e. ) whenever an
e-mail is sent via Outlook? Or, do I have to do that
within Outlook itself?

Sam



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
sending two sheets on one e-mail felpslima Excel Discussion (Misc queries) 1 October 4th 10 08:08 AM
Sending a blank e-mail Hawksby Excel Discussion (Misc queries) 1 September 25th 07 09:16 AM
Sending E-Mail by code ASU Excel Discussion (Misc queries) 2 June 13th 06 01:17 PM
General mail failure when sending e-mail from Excel Adrienne Excel Discussion (Misc queries) 5 November 4th 05 12:59 PM
Sending E-mail litew_8 Excel Worksheet Functions 1 November 21st 04 06:13 AM


All times are GMT +1. The time now is 01:10 AM.

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"