R
red6000
I am tyring to send an email using Word 2003 and the mailmerge function as
follows:
With Documents("ProcessUpdate.doc").MailMerge
.MailAddressFieldName = "Email"
.MailSubject = "Process Update"
.Destination = wdSendToEmail
.MailFormat = wdMailFormatPlainText
.Execute
End With
Now this works fine, however I really want to send it in formatted text, so
changed the code to:
.MailFormat = wdMailFormatHTML
However, this just doesn't work. I get no errors and no messages arrive.
I have found out that if I run the mail merge manually using html it also
doesn't work. So I'm looking for alternatives to using mailmerge.
I know I can use distribution lists and skip VBA completely, but at work the
server limits you to 50 names, so I'm currently having to send the mail 5
times (and the number of staff are set to grow consdierably).
Therefore I've been trying to come up with a VBA route, where I can get the
code to run 5 (or more times) each time sending to 50 different people to
save me having to re-send the email each time.
Any ideas?
Thanks.
follows:
With Documents("ProcessUpdate.doc").MailMerge
.MailAddressFieldName = "Email"
.MailSubject = "Process Update"
.Destination = wdSendToEmail
.MailFormat = wdMailFormatPlainText
.Execute
End With
Now this works fine, however I really want to send it in formatted text, so
changed the code to:
.MailFormat = wdMailFormatHTML
However, this just doesn't work. I get no errors and no messages arrive.
I have found out that if I run the mail merge manually using html it also
doesn't work. So I'm looking for alternatives to using mailmerge.
I know I can use distribution lists and skip VBA completely, but at work the
server limits you to 50 names, so I'm currently having to send the mail 5
times (and the number of staff are set to grow consdierably).
Therefore I've been trying to come up with a VBA route, where I can get the
code to run 5 (or more times) each time sending to 50 different people to
save me having to re-send the email each time.
Any ideas?
Thanks.