Reply
 
Thread Tools Display Modes
  #1   Report Post  
Ole Odsgard
 
Posts: n/a
Default How to "pre-format" text file output from a database to Word

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.
  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

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


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
Templates gman Page Layout 17 April 22nd 05 06:35 PM
How do I convert a "dragged and dropped" text file from an object. David Bartlett Microsoft Word Help 1 March 31st 05 08:53 PM
Excel worksheet in Word linked text boxes Eduardo Oliveira Page Layout 0 January 6th 05 12:23 AM
Created my own format on first page, want text to continue same. . Wordworrier Microsoft Word Help 1 December 12th 04 09:53 PM
Import of text file olav Microsoft Word Help 1 December 6th 04 02:14 PM


All times are GMT +1. The time now is 02:26 PM.

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

About Us

"It's about Microsoft Word"