+ Reply to Thread
Results 1 to 2 of 2

Multiple email addresses in SendMail script

  1. #1
    Registered User
    Join Date
    01-13-2015
    Location
    Oklahoma City, OK
    MS-Off Ver
    2003
    Posts
    9

    Multiple email addresses in SendMail script

    Thanks that works. I hava another question. I created a mail to macro button, and it works fine with my email address in it, but when I try to put multiple emails it doesn't work. Here is that part of the script. Can you advise please?

    When I do it this way it works:
    Please Login or Register  to view this content.
    When I add multiple it tries to send it three times, but never receive anything:

    Please Login or Register  to view this content.
    Help! Thank you.
    Last edited by JBeaucaire; 01-17-2015 at 09:00 PM. Reason: Added missing CODE tags.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Multiple email addresses in SendMail script

    1) Don't forget the CODE /CODE tags when posting VBA. Thanks.

    2) Every email program I've ever used required a semicolon between email addresses, not a comma.
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Email multiple ranges to multiple email addresses
    By myobreportguru in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-10-2014, 04:04 AM
  2. Multiple email addresses in a cell for email merge use
    By selinaang3012 in forum Excel General
    Replies: 0
    Last Post: 03-11-2013, 05:59 AM
  3. email excel file or worksheet as an attachment to multiple email addresses
    By jgeagle5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-16-2009, 03:40 PM
  4. Sending an email from Excel to multiple email addresses
    By insanity66 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2009, 02:01 PM
  5. edit, save as new and email to multiple email addresses
    By murphyx232 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2007, 02:37 PM

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