Idiot's Guide to Doug Robbins' tool "Mail Merge to E-mail with Attachments"

AID: 9210
  • Status: Published

1400 points

  • Bycoachjim
  • TypeTips/Tricks
  • Posted on2012-01-15 at 16:17:55
I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my learning curve, I understand.

What I now realise, is when I read Mr. Robbins instructions, I mostly didn't recognize the significance of many of the points he made.  Mr. Robbins was very clear, but I wasn't.  I hope this helps you avoid my blindness.

Oh, and for the record, I used this tool with Microsoft Word 2010.  So I can assure you it works with that version, too.

First, do pay attention to Mr. Robbins statement that you must "set a reference to the Microsoft Office Outlook Object Library."  You find that is by opening any macro from within Word, and then do what Mr. Robbins says regarding the "Reference" menu.  

My other point is do not confuse "Microsoft Office Outlook ##.0 Object Library" with the other items that can look like the one you want.  

Also, in Word 2010, the item you need is slightly different that what's listed in the Mr. Robbins instructions:

You want:
"Microsoft Outlook ##.0 Object Library" instead of

"Microsoft Office Outlook ##.0 Object Library."  


Notice the word "Office" isn't in the Word 2010 version.

Because I didn't notice that difference, and because I wasn't reading carefully, I spent a half-hour feeling lost because I'd thought I had checked off the right resource because I kept seeing this:

"Microsoft Office ##.0 Object Library" as

"Microsoft Outlook ##.0 Object Library."


Next, when Mr. Robbins writes in his instructions to create a mail merge main document that is of the "Directory" type, I didn't realize there really is a "Directory" type.  I just thought he meant a normal "Document" mail merge.  He doesn't.  There is a "Directory" type.  

Knowing that, I now understand why in his explanation, Mr. Robbins did not instruct me to make sure the first record included field names.  They aren't necessary because of how he's written his macro.

To help you avoid another place where I was confused, before you run Mr. Robbins magical macro, think of it this way:  you're going to first execute a normal mail merge which can merge first names and other field values into your email.  Once you've executed that part, you end up with individual documents for each contact.  Do make sure your data records are in the same order in the data file that has your extra fields and the one you'll use in the macro.  Otherwise, you'll get personal data confused.  

Anyway, once you've done your second-to-the-last step of executing your merge document to get whatever personal data you want, you have your individual merged documents.  That's when you add your attachments by running Mr. Robbins' macro.  

I hope that made sense.

Finally, a little tip about getting the path to your attachments right:  Use Windows Explorer to go to the folder with your attachment(s), point to the attachment's file name and then hold down the shift key while right clicking your mouse on that file.  In the window that pops up, you'll see an option come up to "Copy as Path."

Oh, and for the record, you can find Mr. Robbins great tool at:  http://word.mvps.org/faqs/mailmerge/mergewithattachments.htm
Asked On
2012-01-15 at 16:17:55ID9210
Tags

Microsoft Word

Topic

Microsoft Word

Views
854

Comments

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top MS Word Experts

  1. GrahamSkan

    296,430

    Guru

    2,000 points yesterday

    Profile
    Rank: Genius
  2. teylyn

    43,476

    2,400 points yesterday

    Profile
    Rank: Genius
  3. chris_bottomley

    42,500

    0 points yesterday

    Profile
    Rank: Genius
  4. EricFletcher

    32,732

    0 points yesterday

    Profile
    Rank: Sage
  5. dlmille

    31,800

    0 points yesterday

    Profile
    Rank: Genius
  6. thinkpads_user

    21,832

    0 points yesterday

    Profile
    Rank: Genius
  7. finalword

    18,868

    0 points yesterday

    Profile
    Rank: Guru
  8. l33tf0b

    17,269

    0 points yesterday

    Profile
    Rank: Wizard
  9. BillDL

    15,550

    0 points yesterday

    Profile
    Rank: Genius
  10. Flyster

    15,000

    0 points yesterday

    Profile
    Rank: Sage
  11. puppydogbuddy

    14,700

    0 points yesterday

    Profile
    Rank: Genius
  12. paulsauve

    13,968

    2,000 points yesterday

    Profile
    Rank: Sage
  13. matthewspatrick

    13,186

    10 points yesterday

    Profile
    Rank: Savant
  14. PandaPants

    13,000

    0 points yesterday

    Profile
    Rank: Master
  15. regmigrant

    12,500

    0 points yesterday

    Profile
    Rank: Guru
  16. KCTS

    11,953

    0 points yesterday

    Profile
    Rank: Genius
  17. Helen_Feddema

    11,826

    0 points yesterday

    Profile
    Rank: Genius
  18. aikimark

    11,500

    0 points yesterday

    Profile
    Rank: Genius
  19. CodeCruiser

    9,000

    0 points yesterday

    Profile
    Rank: Genius
  20. GasperK

    8,498

    0 points yesterday

    Profile
    Rank: Master
  21. RobSampson

    8,200

    0 points yesterday

    Profile
    Rank: Genius
  22. motnahp00

    8,136

    0 points yesterday

    Profile
    Rank: Sage
  23. TBone2K

    7,600

    0 points yesterday

    Profile
    Rank: Sage
  24. ogctech

    7,600

    0 points yesterday

    Profile
  25. Rartemass

    7,400

    0 points yesterday

    Profile
    Rank: Wizard

Hall Of Fame