+ Reply to Thread
Results 1 to 4 of 4

Bulk mail using excel and outlook

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    Heerhugowaard, Holland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Bulk mail using excel and outlook

    Hello all!

    I am a starting marketing-communication assistent and I have problems with sending a bulk-mail. In excel I have the info "contactpersoon" (contact person) and "Email", I am looking for a macro that automates the importing from data in excel to an e-mail in MS Outlook instead of putting 1500 e-mailaddresses and contactperson manually.

    I have tried some macro's but none of them worked, also I am a real newbie when it comes to ICT and macro's!

    I would really appreciate any help!

    - pskroes

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Bulk mail using excel and outlook

    Good morning pskroes

    ...and welcome to the forum!!

    Your fellow countryman and Microsoft MVP Ron de Bruin has one of the best resource on the web for using Excel and Outlook together. Given your limited experience with VBA you might want to download his free SendMail add-in available from here.

    If this doesn't quite cut it, and you need to write something yourself he also has pages and pages of good examples, but it's not the easiest of aspects of VBA to handle.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    Heerhugowaard, Holland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Bulk mail using excel and outlook

    Thank you very much for redirecting and helping.

    So I browsed through Ron's website and read some pretty good information. Still all those macro's are confusing me, I really have no clue what macro helps me. I've managed to e-mail myself (as a test) with this macro:

    Sub Mail_Workbook_1()
    Dim OutApp As Object
    Dim OutMail As Object

    Set OutApp = CreateObject("Outlook.Application")
    Set OutMail = OutApp.CreateItem(0)

    On Error Resume Next
    With OutMail
    .To = "[email protected]"
    .CC = "[email protected]"
    .BCC = ""
    .Subject = "test"
    .Body = "Hello World!"
    .Attachments.Add ActiveWorkbook.FullName
    .Send
    End With
    On Error GoTo 0

    Set OutMail = Nothing
    Set OutApp = Nothing
    End Sub
    Now I am looking to make a range in the excelsheet with another macro so I can send multiple e-mails from excel.... This macro I also found on Ron's website:

    Sub EMail_Outlook_Body()
    Dim rng As Range
    Dim OutApp As Object
    Dim OutMail As Object

    With Application
    .EnableEvents = False
    .ScreenUpdating = False
    End With

    Set rng = Nothing
    On Error Resume Next
    Set rng = Sheets("1").Range("F2:F5").SpecialCells("F2:F5")
    On Error GoTo 0

    If rng Is Nothing Then
    MsgBox "Error" & _
    vbNewLine & "Error", vbOKOnly
    Exit Sub
    End If

    Set OutApp = CreateObject("Outlook.Application")
    OutApp.Session.Logon
    Set OutMail = OutApp.CreateItem(0)

    On Error Resume Next
    With OutMail
    .To = "[email protected]"
    .CC = "[email protected]"
    .BCC = ""
    .Subject = "Test"
    .HTMLBody = .RangetoHTML("F2:F5")(rng)
    .Display
    End With
    On Error GoTo 0

    With Application
    .EnableEvents = True
    .ScreenUpdating = True
    End With

    Set OutMail = Nothing
    Set OutApp = Nothing
    End Sub
    .HTMLBody = .RangetoHTML("F2:F5")(rng)

    I think this is where it goes wrong, I want to select a range, so I put F2:F5 from the sheet which contains e-mailaddresses. FWIW I don't even know what this macro does.
    I feel like a soaking wet dripping sponge, so much information!

    Hope someone can help me out..!
    Last edited by pskroes; 06-21-2010 at 05:50 AM.

  4. #4
    Registered User
    Join Date
    12-06-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Thumbs up Bulk mail using excel and outlook

    Outlook 2010 makes it easy to send mass emails to a selected number of contacts using the common and well known Mail Merge feature from previous versions of Microsoft Office. However when you want to send out a mass multi-recipient email with personalized information for each individual… things can start to get a little bit tricky if your not familiar with the process.Sending email is quick and easy. But there really are no shortcuts to building a good email marketing channel.

+ 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