Ole Odsgard wrote:
I need to know how I can "preformat" text output from a database
(i.e. bold etc.) so that the text file will be treated correctly in
Word. There must be a way of "coding" the various Word attributes,
but I have'nt been able to find it anywhere.
Insert HTML tags and save the file with an .htm extension, and Word will
interpret them when it opens the file.
For example, create a text file with this content and name it
formatting.htm:
html
body
This text contains a bbold/b word and an iitalic/i word.
/body
/html
Then open the file in Word and see the formatting.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:
http://word.mvps.org