A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Email merge with attachment



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2009, 09:55 PM posted to microsoft.public.word.mailmerge.fields
Kaylen
external usenet poster
 
Posts: 133
Default Email merge with attachment

I have been trying to figure out how to follow the directions given at the
site:
http://word.mvps.org/FAQs/MailMerge/...ttachments.htm

I get to the part of making the table. I was able to paste and save the
macro into VBA. Now I am stuck figuring out to make this mail merge with
attachment work.
I have a document I want to send out as the email message along with a
attachment which I know the path and file name. What should I do with the
table and where do I run the macro so that the document I have can be sent to
the email addresses from the table along with the attachments from the
attachment row of the table. I think I'm half way there. I'm just missing
something. Can anyone please guide me through? I hate to quite half way.
Thanks so much!
  #2  
Old April 30th, 2009, 10:19 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Email merge with attachment

The instructions in that article detail all of the steps that are required,
and they must all be followed. There are no shortcuts.

Basically, you must create and EXECUTE to mail merges, BOTH OF WHICH MUST
USE THE SAME DATA SOURCE. The first one is the catalog/directory type mail
merge which is the one in the main document of which you setup the table
with the mailmerge field that contains the email addresses in the first cell
and, in your case as it sounds like you are sending the same file to each
person, the path and filename of that file in the second cell like the
second example in the article. You must execute that merge to a new
document and the document produced by that merge will contain a table with a
row of data for each record in the data source. In the first column will be
the email addresses and in the second column of the table the path/filename
of the attachment will be repeated over and over.

You must then save and close that file. Below, I will refer to this as
DOCUMENT A

Next, you create a letter type mail merge main document using the SAME data
source. This document will for the text of the email messages. When you
have this document set up, you MUST EXECUTE the merge to a new document.
Then with the document created by executing that merge as active document,
you then run the macro. When you do that, it will display a FileOpen
dialog in which you must select DOCUMENT A. After you do that, the rest of
the code in the macro will run.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"Kaylen" wrote in message
...
I have been trying to figure out how to follow the directions given at the
site:
http://word.mvps.org/FAQs/MailMerge/...ttachments.htm

I get to the part of making the table. I was able to paste and save the
macro into VBA. Now I am stuck figuring out to make this mail merge with
attachment work.
I have a document I want to send out as the email message along with a
attachment which I know the path and file name. What should I do with the
table and where do I run the macro so that the document I have can be sent
to
the email addresses from the table along with the attachments from the
attachment row of the table. I think I'm half way there. I'm just missing
something. Can anyone please guide me through? I hate to quite half way.
Thanks so much!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.