+ Reply to Thread
Results 1 to 4 of 4

Sending email to multiple (more than 2) recipents

  1. #1
    Registered User
    Join Date
    02-05-2010
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    33

    Sending email to multiple (more than 2) recipents

    Is there a specific way to do this or a specific setting to change so I can send an email to multiple people? I tried listing multiple CC rows but when I did that it skipped the first CC and emailed the second. Here is the code:

    Also, how do I include a distribution list?

    Sub email()
    '
    ' email Macro
    ' send email
    '
    ' Keyboard Shortcut: Ctrl+Shift+E

    Dim OutApp As Object
    Dim OutMail As Object

    Set OutApp = CreateObject("Outlook.Application")
    Set OutMail = OutApp.CreateItem(0)

    On Error Resume Next
    With OutMail
    .To = "name@company"
    .CC = "name@company" And "name@company"
    .BCC = ""
    .Subject = "Inventory Age Test"
    .Body = "Today's Inventory"
    .Attachments.Add ActiveWorkbook.FullName
    'You can add other files also like this
    '.Attachments.Add ("C:\test.txt")
    .Send 'or use .Display
    End With
    On Error GoTo 0

    Set OutMail = Nothing
    Set OutApp = Nothing
    End Sub
    Last edited by MSP; 08-02-2010 at 11:38 AM. Reason: Thread title

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: I can't send an email from Excel to more than two people (To and CC)

    Good afternoon MSP

    Just send it all as one string and let outlook parse it. Try :
    Please Login or Register  to view this content.
    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    02-05-2010
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Sending email to multiple (more than 2) recipents

    Works perfectly. Thank you!

  4. #4
    Registered User
    Join Date
    05-22-2013
    Location
    Albania
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Sending email to multiple (more than 2) recipents

    Perfect. It came to my use as well. Thx.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1