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 formatted text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Walter Verkuil - 26 Aug 2004 10:47 GMT
Hi,

I already post something under subject rich text but i know a little bit
more after searching on the internet and forums.
Actualy it's preformated text as HTML stored in an SQL field.
When i want to merge it with Word it doesn't understand the formatting like
<p>text</p> for paragraph.
Isn't there some macro which is capable to format it in the right way?
Or is it a solution to insert a link to a file with the formatted text? I
hope someone knows how to help me because it's very urgent for me. Thanks,

Walter
Cindy M  -WordMVP- - 27 Aug 2004 11:10 GMT
Hi Walter,

See my reply to your first message. The basic information is the same, except
you can write the data to an HTML table, then link to that for the mail
merge.

> I already post something under subject rich text but i know a little bit
> more after searching on the internet and forums.
> Actualy it's preformated text as HTML stored in an SQL field.
> When i want to merge it with Word it doesn't understand the formatting like
> <p>text</p> for paragraph.

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 :-)
Peter Jamieson - 27 Aug 2004 11:38 GMT
Cindy replied to your previous question with one possible solution. But it
depends on what you need to do.

> Or is it a solution to insert a link to a file with the formatted text? I

This is probably what you need to do, - you would have to create a .htm or
.html file containing your text and link to it using an INCLUDETEXT field.
You would probably need to have a field in your data source that held the
name, or part of the name, of the .htm file, and use a MERGEFIELD field
nested within the INCLUDETEXT

e.g.

{ INCLUDETEXT "c:\\mypath\\{ MERGEFIELD myhtmlfilename }" \c HTML }

Your HTML would probably need to be quite simple to make this work - and it
may still not work because Word may insert an unhelpful paragraph mark at
the end of your text.

Signature

Peter Jamieson

> Hi,
>
[quoted text clipped - 8 lines]
>
> Walter
 
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.