> 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
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