Hi all, I have a task to create a Microsoft Word document from a html
document. Itâ??s part of Microsoft Word automation code (it means VB or .NET
code).

The automation code will read html stream and build word document with some
formats similar to html.

I donâ??t have clue. Anyone knows how to do it? Or where can I find that
information (components can buy, or even where to post this information
properly).

Thanks.
Shaw

Re: Create Word doc from HTML by code by Jay

Jay
Fri Mar 11 19:40:38 CST 2005

On Fri, 11 Mar 2005 15:31:03 -0800, "Shaw"
<Shaw@discussions.microsoft.com> wrote:

>Hi all, I have a task to create a Microsoft Word document from a html
>document. It?s part of Microsoft Word automation code (it means VB or .NET
>code).
>
>The automation code will read html stream and build word document with some
>formats similar to html.
>
>I don?t have clue. Anyone knows how to do it? Or where can I find that
>information (components can buy, or even where to post this information
>properly).
>
>Thanks.
>Shaw

Save the html stream as a real html file. Then just use File > Open to
open the html file, and then use File > Save As to save it as a Word
file. Let Word's input and output filters do all the work.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Re: Create Word doc from HTML by code by Shaw

Shaw
Mon Mar 14 14:49:02 CST 2005

Thanks Jay. It looks that Word automate code allows to open an .html file.
Thatâ??s great!

Shaw


"Jay Freedman" wrote:

> On Fri, 11 Mar 2005 15:31:03 -0800, "Shaw"
> <Shaw@discussions.microsoft.com> wrote:
>
> >Hi all, I have a task to create a Microsoft Word document from a html
> >document. Itâ??s part of Microsoft Word automation code (it means VB or .NET
> >code).
> >
> >The automation code will read html stream and build word document with some
> >formats similar to html.
> >
> >I donâ??t have clue. Anyone knows how to do it? Or where can I find that
> >information (components can buy, or even where to post this information
> >properly).
> >
> >Thanks.
> >Shaw
>
> Save the html stream as a real html file. Then just use File > Open to
> open the html file, and then use File > Save As to save it as a Word
> file. Let Word's input and output filters do all the work.
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org
>