Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Insert HTML into a word document

0 views
Skip to first unread message

Sylvain

unread,
Nov 29, 2005, 12:10:32 PM11/29/05
to
Does anybody know how to insert html into word programmatically?

I'm using VB.net and I would like to add some html into a word
document, but all I can do is insert the actual text, I want bullets to
appear instead of <UL>.

I tried using the clipboard, I get a command failed error.

Any help would be appreciated.

Thanks,

sylvain.

Sylvain

unread,
Nov 29, 2005, 2:13:02 PM11/29/05
to
I managed to do this by creating an html file containing all my html
code (u need these tags <html><body>...</body></html> or else it won't
work even if it looks alright in IE), then inserted the file using the
selection.insertFile() method in a word document.

This seems to be the only way to do it.

0 new messages