Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / August 2004

Tip: Looking for answers? Try searching our database.

Mailmerge with rich text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Walter Verkuil - 25 Aug 2004 16:34 GMT
I have some richt text in a database field. When i want to merge the
document in Word the field display's the text like:

<p><font style="Times new Roman">this is some text</font><p>
instead of:

this is some text

Does somebody know how you can avoid this problem.
Thanks,

Walter
Cindy M  -WordMVP- - 26 Aug 2004 16:01 GMT
Hi Walter,

> I have some richt text in a database field. When i want to merge the
> document in Word the field display's the text like:
[quoted text clipped - 5 lines]
>  
> Does somebody know how you can avoid this problem.

Word has no facility to pick up HTML or Rich-Text out of a database
field. The only way Word can pick up any formatting information is if
the text is contained in a Word TABLE that's used as the data source.
And even then, you have to "trick" Word by editing the field codes and
removing the word "Mergefield" from the field code where you want to
pick up the formatting.

So, in this case, I'd say you'd need to export the data to an RTF
file, open it in Word and save it as a Word document. If you don't
know how to create a table using RTF, then write it to a plain text
file in delimited format, open that in Word as plain text. Convert it
to a table, save the result as RTF, then open it again in Word and
save it as a Word document. Now you should be able to use it as the
data source.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.