Mailmerge object . Don't include a "body" property ?

T

tf

Hello,

how to have something like
.body="my personalized text" ?

with the mergemail object ?

It exists but with the outlook object, I think.
I don't want to use this latter.


Thank you
T.
 
T

tf

What it does :
cut a big giant file in as many files as there are pages
and send each page to its own customer

But : Where to put the ".body" equivalent and what code
does this ?

It makes me ...00@!!
---------------------------------
My code is :


For Each afield In ActiveDocument.MailMerge.DataSource.DataFields
Selection.WholeStory
With ActiveDocument.MailMerge
.Destination = wdSendToEmail
.SuppressBlankLines = True
.MailSubject = "My subject is _____"
With .DataSource
.FirstRecord = ActiveDocument.MailMerge.DataSource.ActiveRecord
.LastRecord = ActiveDocument.MailMerge.DataSource.ActiveRecord


End With
.Execute Pause:=False
End With

ActiveDocument.MailMerge.DataSource.ActiveRecord = wdNextRecord
Next afield
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi tf,

You will find a way to do this in the article "Mail Merge to E-mail with
Attachments" at

http://www.mvps.org/word/FAQs/MailMerge/MergeWithAttachments.htm

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
 
T

tf

It is not possible to do this with only the "mailmerge" object ?
(adding a customized body such as .body="my text")




Thank you











"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS"
 
C

Cindy M -WordMVP-

Hi Tf,
It is not possible to do this with only the "mailmerge" object ?
(adding a customized body such as .body="my text")
No, mail merge isn't really email-related. Given this requirement
cut a big giant file in as many files as there are pages
and send each page to its own customer
I'd say:
- In the big document, select each page and assign it a bookmark
name, the name should correspond to an entry in the data source,
unique to each customer

- In the mail merge, use an IncludeText field. For the "range",
insert the mergefield that will carry the bookmark name.
(IncludeText is what you get when you use Insert/File with a link.)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30
2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top