+ Reply to Thread
Results 1 to 5 of 5

send excel sheet to email recipients contained on the sheet

  1. #1
    Registered User
    Join Date
    08-24-2005
    Location
    Ireland
    MS-Off Ver
    O365
    Posts
    75

    send excel sheet to email recipients contained on the sheet

    hello folks,

    im looking for help to run a macro that will email the excel book to whosever name is containing in columns. for eg

    if a list of emails addresses is contained in column M i need to run a macro to send the book to these list of emails. there will be different number of columns/emial addresses every day so i need to be able to send the email to everyone listed in the column. 1 email address will be contained in every cell in column M.

    anyone help?

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Number the addresses, using VLOOKUP and a For .. Next loop you should be able to get the adresses one by one.
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    08-24-2005
    Location
    Ireland
    MS-Off Ver
    O365
    Posts
    75
    hello,

    i've used the following code:


    Sub SendActiveWorkbook()


    Dim MyArr As Variant

    MyArr = Range("M1:M100")

    ActiveWorkbook.SendMail _
    Recipients:=MyArr, _
    Subject:="test"

    End Sub


    but in the range M1:M100 it says in all the cellls eg.

    "EMAIL:jblogs@email.com"


    i just what to use jblogs@email.com

    how do i just select this from the cell? is there anyway i can write in the code above select characters from 7 on???

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Try this :

    Please Login or Register  to view this content.
    Erik

  5. #5
    Registered User
    Join Date
    06-29-2007
    Posts
    5
    For:
    is there anyway i can write in the code above select characters from 7 on???
    Try:
    Please Login or Register  to view this content.

+ 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