+ Reply to Thread
Results 1 to 7 of 7

Change this code to create one email with all the addresses found

  1. #1
    Forum Contributor
    Join Date
    02-16-2008
    Location
    Mansfield, TX
    Posts
    324

    Change this code to create one email with all the addresses found

    Hi, I got this off of Ron Debruins fantastic excel site. Teh only problem, is I need to send an email to a list of people, but I want it to create one email with all 2600 recipeints in the BCC box. Is this possible?

    Thanks!
    Clayton Grove


    Please Login or Register  to view this content.
    Last edited by dcgrove; 10-29-2008 at 07:02 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello dcgrove,

    Who is the email going to, i.e. what cell or variable holds that address? What column are the BCC address in and in which cell do they start?

    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    02-16-2008
    Location
    Mansfield, TX
    Posts
    324
    the email needs to go to the adresses in cells b1:b3000. The code above opens an email message for each address. Ideally I would like to be able to type the subject in cell e1 and the body in cell e2, click a button and it have excel send one message with all of the addresses in the bcc field.



    Thanks!
    Clayton!

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Clayton,

    Who will be the main recipient of the email? You need a "To" field if you want to send the "BCC"s.

    Sincerely,
    Leith Ross

  5. #5
    Forum Contributor
    Join Date
    02-16-2008
    Location
    Mansfield, TX
    Posts
    324
    I am not sure who hat will have to be. If you could just put single quotes around that line, I will find out.

    Thanks!
    Clayton Grove

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Clayton,

    Here is the macro to send an email with BCCs. You will need to change the "To'" field.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  7. #7
    Forum Contributor
    Join Date
    02-16-2008
    Location
    Mansfield, TX
    Posts
    324
    In an Internet full of geniuses you are the real deal! Thanks!


    Clayton

+ 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. Convert text to useable email addresses
    By dcgrove in forum Excel General
    Replies: 2
    Last Post: 09-22-2015, 03:46 AM
  2. Perl script to create CSV files. How to add vba code ?
    By turbo75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2007, 08:41 AM
  3. Email macro with no email addresses
    By ironguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2007, 02:56 PM
  4. Excel closes when using VBA to write VBA code
    By btoback in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2007, 03:42 PM
  5. macro to change colour code
    By stevekirk in forum Excel General
    Replies: 1
    Last Post: 02-23-2007, 08:59 AM

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