importing HTML text to word programmatically

B

bducci

Hi there,

I am trying to import some HTML text to a Word instance programmatically.
Basically I want users to edit some HTML text using WORD.

I use the following:
wordApplication.ActiveDocument.HTMLProject.HTMLProjectItems(1).Text =
someHTMLText

This works fine except that is seems like a table HTML tag needs to be use
in the variable: someHTMLText. If there is NO table HTML tag then Word
displays the actual source of the html text, however if I include atleast one
table tag then the display is ok.

I would like to know if there is a way to NOT have to send the table HTML tag.

tia
George

PS I am using Word 2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top