+ Reply to Thread
Results 1 to 3 of 3

looping through range of cells & sending multiple emails with outlook

  1. #1
    Registered User
    Join Date
    06-06-2006
    Posts
    3

    looping through range of cells & sending multiple emails with outlook

    Hello,

    What I'm trying to do is loop through a range of cells and send out an email to certain recipients if information has changed. I am starting with row 6 and checking each column in row 6 to see if any changes have been made. All the changes in row 6 are then added to the body of the email message. Once the email is sent, the loop moves to the next row and starts over with a new email. The problem I'm having is that the email will only send for changes made in the first row(row 6). Once the loop moves to row 7, i get an error stating: "Outlook does not recognize one or more names." When I click "debug", the .Send code is highlighted.

    Here is the code:

    Please Login or Register  to view this content.
    Also, I used the www.rondebruin.nl site to get the code for sending emails. Any help would be greatly appreciated. Thanks!

    Scott

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    You may need to use the line

    Please Login or Register  to view this content.
    before attempting to send - this is the equivalent of pressing Alt K in Outlook.
    Martin

  3. #3
    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 splosczynski,

    The method mrice mentioned will work only if all the addresses listed on your worksheet are in your personal address book. Check that your email addresses are correct and there are no typographical errors.

    Sincerely,
    Leith Ross

+ 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