Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / May 2005

Tip: Looking for answers? Try searching our database.

Email merge with part of the document as an attachment

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jonnymarketingguy - 17 May 2005 21:22 GMT
I would like to have an email merge where part of the merge information is
included in the body of the document and part of the document is attached as
a word document. I have tried emailing the whole thing as an attachment but
the message is sent with "WARNING-MACRO" in fron of my subject line. Also,
having nothing in the body of the email just doesn't look right.

Any suggestions?

Thanks,
Jonathan
Michael_Corral - 18 May 2005 03:29 GMT
I believe that Pre Word 2003 you can Send To and then choose Mail Recipient
(for Review) and that with 2003 you can just choose Send To and then Mail
Recipient and both will show up inside the e-mail.

Signature

Top Notch Admin

> I would like to have an email merge where part of the merge information is
> included in the body of the document and part of the document is attached as
[quoted text clipped - 6 lines]
> Thanks,
> Jonathan
Graham Mayor - 18 May 2005 07:11 GMT
See the article prepared by fellow MVP Doug Robbins at
http://word.mvps.org/FAQs/MailMerge/MergeWithAttachments.htm

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> I would like to have an email merge where part of the merge
> information is included in the body of the document and part of the
[quoted text clipped - 7 lines]
> Thanks,
> Jonathan
jonnymarketingguy - 19 May 2005 01:09 GMT
Maybe I wasn't very clear.

I have a document that has a cover page as well as two invoices. I would
like the two invoices to show up as attachments.

The list has multiple customers, so each customer would receive their own
invoices.

I would like the body of the cover page to show up in the body of the email
page. I am not sure how best to handle this if it is possible at all.

All I know is that when I create an email merge chosing MAIL FORMAT as
Attachment I get the subject "WARNING-MACRO" before my subject line when I
received the test email. I don't want people to go running for the hills when
seeing an email on which I want to collect money. Plus having no text in the
body of the email just looks wrong.

From other posts I guess that using the email merge chosing MAIL FORMAT as
Attachment, it is impossible to put text in the body of the message. Is this
true?

Is there any other way to get rid of the "WARNING-MACRO", put SOMETHING in
the body of the email and have the proper invoices attached automatically on
the fly?

Thanks,
Jonathan

> See the article prepared by fellow MVP Doug Robbins at
> http://word.mvps.org/FAQs/MailMerge/MergeWithAttachments.htm
[quoted text clipped - 10 lines]
> > Thanks,
> > Jonathan
Graham Mayor - 19 May 2005 06:19 GMT
Your message was clear enough. Currently, the only way to merge attachments
from Word is to do so using the method I posted earlier. What you are trying
to achieve may not be possible using this application.
If you wish to avoid warnings in every circumstance then use plain text
messages.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Maybe I wasn't very clear.
>
[quoted text clipped - 47 lines]
>>> Thanks,
>>> Jonathan
jonnymarketingguy - 19 May 2005 22:42 GMT
It doesn't seem to be possible to have only part of the document come accross
as an attachment.

The really annoying thing is that Microsoft Word seems to be putting the
"WARNING-MACRO" when the document is merged as an attachment. Is there any
way to after mailmerge strip macros so this doesn't appear?

Any idea when Microsoft will allow email merges as attachment with dynamic
text in the body?

Thanks,
Jonathan

> Your message was clear enough. Currently, the only way to merge attachments
> from Word is to do so using the method I posted earlier. What you are trying
[quoted text clipped - 53 lines]
> >>> Thanks,
> >>> Jonathan
jonnymarketingguy - 19 May 2005 23:31 GMT
There may be another workaround. Is there a way to automatically save
different parts of the merged file? In other words if I have a letter with
one of the recipients named "Bill" would I be able to save the letter to
"Bill" as a seperate file, say Bill.doc, within the mailmerge process?

Then I could create a merge with an attachment with the method you
previously mentioned.

Thanks,
Jonathan

> It doesn't seem to be possible to have only part of the document come accross
> as an attachment.
[quoted text clipped - 66 lines]
> > >>> Thanks,
> > >>> Jonathan
Graham Mayor - 20 May 2005 06:24 GMT
You may be able to merge to two separate files using the same data or you
may be able to merge to a new dolcument and to split the merge to achieve
much the same, but unfortunately I can't test it at present as I am
relocating and most of my PC equipment is in a container somewhere on the
high seas.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> There may be another workaround. Is there a way to automatically save
> different parts of the merged file? In other words if I have a letter
[quoted text clipped - 88 lines]
>>>>>> Thanks,
>>>>>> Jonathan
Doug Robbins - 20 May 2005 12:27 GMT
If you want each file to be named based on one of the fields in the data
source,
here's a method that I have used that involves creating a separate
catalog type mailmerge maindocument which creates a word document containing
a table in each row of which would be your data from the database that you
want to use as the filename.

You first execute that mailmerge, then save that file and close it.  Then
execute the mailmerge that you want to create the separate files from and
with the
result of that on the screen, run a macro containing the following code
and when the File open dialog appears, select the file containing the table
created by the first mailmerge

' Throw Away Macro created by Doug Robbins
'
Dim Source As Document, oblist As Document, DocName As Range, DocumentName
As String
Dim i As Long, doctext As Range, target As Document
Set Source = ActiveDocument
With Dialogs(wdDialogFileOpen)
   .Show
End With
Set oblist = ActiveDocument
Counter = 1
For i = 1 To oblist.Tables(1).Rows.Count
   Set DocName = oblist.Tables(1).Cell(i, 1).Range
   DocName.End = DocName.End - 1

   'Change the path in the following command to suit where you want to save
the documents.
   DocumentName = "I:\WorkArea\Documentum\" & DocName.Text
   Set doctext = Source.Sections(i).Range
   doctext.End = doctext.End - 1
   Set target = Documents.Add
   target.Range.FormattedText = doctext
   target.SaveAs FileName:=DocumentName
   target.Close
Next i

Signature

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

> There may be another workaround. Is there a way to automatically save
> different parts of the merged file? In other words if I have a letter with
[quoted text clipped - 83 lines]
>> > >>> Thanks,
>> > >>> Jonathan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.