Hi Nicola,
Do you have the document created by the mailmerge as the active document
when you are executing the macro?
These lines of the code
Source.Sections.First.Range.Cut
Documents.Add
Selection.Paste
Set oItem = oOutlookApp.CreateItem(olMailItem)
With oItem
.Body = ActiveDocument.Content
Create a new document for each record that contains the content of the
relevant section of the document created by the execution of the mailmerge.
That new document then becomes the body of the email message that is sent.
If you want to include a subject line, add the following command after .Body
=
.Subject = "This is the subject"
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
> Hi Doug,
> I managed to run the macro so it attaches the right
[quoted text clipped - 63 lines]
> >
> >.
Hi Doug- thanks a million for this- ive cracked it now. I
was doing the mail merge as an email merge - not realising
the macro converted resulting the word document to an
email.
Its saved me days of work!!
Thanks so much
Nicola
>-----Original Message-----
>Hi Nicola,
[quoted text clipped - 95 lines]
>
>.