#1   Report Post  
Sean Murdoch
 
Posts: n/a
Default mailmerge

Hi Doug,

I have used part of your online help
"http://word.mvps.org/faqs/mailmerge/mergewithattachmentsco
ntent.htm"

I have written VB app to ask for the location of the word
doc, mdb file to merge with, and the list of attachments.
I then open these up and for each email address out of the
MDB file I create an olmailitem and insert the contents of
the word doc as the body.

I am using
..BodyFormat = olFormatHTML
..HTMLBody = wordr.ActiveDocument.Content

Everything works perfect except, the body of the email has
losted all the formating, ie colour, centre, underline.
How can I keep the format of the Word doc ?
thanks
Sean
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

You can't - that's the whole point of the attachments.

--

Graham Mayor - Word MVP

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




Sean Murdoch wrote:
Hi Doug,

I have used part of your online help
"http://word.mvps.org/faqs/mailmerge/mergewithattachmentsco
ntent.htm"

I have written VB app to ask for the location of the word
doc, mdb file to merge with, and the list of attachments.
I then open these up and for each email address out of the
MDB file I create an olmailitem and insert the contents of
the word doc as the body.

I am using
.BodyFormat = olFormatHTML
.HTMLBody = wordr.ActiveDocument.Content

Everything works perfect except, the body of the email has
losted all the formating, ie colour, centre, underline.
How can I keep the format of the Word doc ?
thanks
Sean



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems (again) getting Outlook contacts in Word 2002 Mailmerge Carl Mailmerge 1 January 21st 05 02:13 AM
MailMerge Data Sources Bill S. Mailmerge 1 January 8th 05 10:07 AM
Included Property in Word 2003 MailMerge Alessio Mailmerge 1 December 23rd 04 11:26 AM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 04:01 PM
mailmerge wizard locator dlvery Mailmerge 1 December 4th 04 04:01 PM


All times are GMT +1. The time now is 11:54 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"