+ Reply to Thread
Results 1 to 5 of 5

create and send emails using excel

  1. #1
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220

    create and send emails using excel

    Hi guys,

    Lets say I store a list of email addresses in column A. Then I have a set text in another cell.

    I need a code that will take that text, paste it into a new email (Outlook 2007) and send it to the first email address in the list. Then repeat for the second, third, fourth and so on until it has sent an email to each of the addresses.

    Any ideas?
    Last edited by Mordred; 08-30-2011 at 01:01 PM.

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: create and send emails using excel

    Hi,
    have a look at Ron de Bruin's Example Code for sending mail from Excel:
    http://www.rondebruin.nl/sendmail.htm

    Buran
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220

    Re: create and send emails using excel

    Thanks for the reply, All of his codes are great, but they only allow information to be sent as an attachment i.e. a copy of the actual worksheets.

    I need a code that will paste what is on the worksheet (within a specific range) into an email .

  4. #4
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: create and send emails using excel

    hm, are you sure? :-)
    Look at part 3 in the link I provided - Outlook object model (body)
    This is 3rd example workbook. There you have (among other useful code):

    Mail one worksheet in the body of the mail
    Mail Range/Selection in the body of the mail
    Mail selection, range or worksheet in the body of a mail with MailEnvelope

    Mail a small message
    Mail a message to each person in a range
    Mail every worksheet with address in A1 (Body)
    Insert Outlook Signature in mail
    Mail a row to each person in a range
    Mail a row or rows to each person in a range
    Send a mail when a cell reaches a certain value Updated
    Send mail with link to workbook
    Last edited by buran; 04-15-2010 at 09:29 AM.

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,954

    Re: create and send emails using excel

    For a routine that already does what I think you want to do look at the long code at the bottom of my post here:
    http://www.excelforum.com/excel-prog...ject-body.html

+ 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