Save it as HTML, close it, then read it back as a text file.
>I want to edit in microsoft word add a custom menu option called File Save
>To
> DB and the document is saved to a database. Is there away that I can get
> the html representation of the document in the form of a string. Similar
> to
> selection.text but I get the html version of the document?
Brady - 25 Aug 2006 04:20 GMT
That seems just way to brute force. Surely there is way to get to the HTML
from the word object model.
> Save it as HTML, close it, then read it back as a text file.
>
[quoted text clipped - 4 lines]
> > to
> > selection.text but I get the html version of the document?
Jezebel - 25 Aug 2006 04:25 GMT
Well, if you have nothing better to do, you can explore the mysteries of
activedocument.HTMLProject. It's all there ... after a fashion.
> That seems just way to brute force. Surely there is way to get to the
> HTML
[quoted text clipped - 11 lines]
>> > to
>> > selection.text but I get the html version of the document?