+ Reply to Thread
Results 1 to 2 of 2

VBA Coding for Mail Merge Attachments and Carbon Copies

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    54

    Cool VBA Coding for Mail Merge Attachments and Carbon Copies

    Hello,

    I need some help - hence why I am here I guess.

    I have an Excel 2010 spreadsheet with training dates, the email address of the person coming to training and their line manager's email address. I would like to be able to send a personalised email out to each of them and also carbon copy in their boss and also, lastly attach a PDF file. I tried to do it with a simple office mail merge but that does not allow you to use a CC field, nor attach a document.

    I thought this would be an easy-ish task to accomplish as I am very new to VBA, and this would help me learn. However, I am totally stuck now. I have managed to find some code written by a chap called Doug Robbins, lots of other people refer to his code (http://word.mvps.org/FAQs/MailMerge/...ttachments.htm) so it's probably pretty good but to be honest I'm totally lost.

    Can anyone show me how to do this please? Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,545

    Re: VBA Coding for Mail Merge Attachments and Carbon Copies

    That code, as it indicates a few times (not least that he's a Word MVP), is for a Word document.

    Have a look at Ron de Bruin's web site. Everything you could possibly want for Excel, VBA and Outlook.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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