Word is reading a simple text file. If I try to add bold on/off printer
control codes, wouldn't Word simply ignore them during the conversion to
a doc file? Is there a way to specify certain text be loaded as bold?
Short of generating a Word document, I don't know if there is a
solution. Any advice would be appreciated...Dennis
I would suggest however that your program should be creating a finished Word
document. It ain't that hard.
--
Hope this helps,
Doug Robbins - Word MVP
dkr[atsymbol]mvps[dot]org
"Dennis Allen" <den...@dennisallen.com> wrote in message
news:JpidnVkYIIrW9tvR...@pghconnect.com...
"Dennis Allen" <den...@dennisallen.com> wrote in message
news:JpidnVkYIIrW9tvR...@pghconnect.com...
> Hi. I'm new here, hoping someone can help. I wrote a program for a
> client. This program generates simple text file reports. The client
> loads these text files into Word, then sets the font/pitch, and margins
> to print the report the way she wants. Problem. Now she wants the
> subtotals in bold.
>
> Word is reading a simple text file. If I try to add bold on/off printer
> control codes, wouldn't Word simply ignore them during the conversion to
> a doc file? Is there a way to specify certain text be loaded as bold?
Hello,
what about inserting html codes in the text file?
Word loads .html files quite well.
The html file can be as simple as
<html>
<body>
<p>normal text</p>
<p><b>bold text</b></p>
<p>normal text</p>
</body>
</html>
or otoh even contain stylesheet information.
--
Wilfried Hennings
please reply in the newsgroup, the e-mail address is invalid
"Wilfried" <Wilf...@invalid.invalid> wrote in message
news:7t3e46h89l0tpcdmb...@4ax.com...