P
Paul Shapiro
I have an application that inserts formatted text to Word from plain text
that includes custom format tags. The application is being updated to take
html-formatted text. I was hoping that inserting html text to a Word
document would be more straightforward than trapping all the tags and
replacing them with Word styles. I could not find anything to insert html
into a Word document and have the html tags interpreted as formatting. When
I insert the text, the html tags are included as literal text. I know you
can copy html-formatted text from IE and paste it into Word with the
formatting intact. Is there a clean way to do this in Word VBA? I would hate
to have to create an html document from the text, open it in IE, select it
all, copy it and then paste to Word. But that's all I can find so far. Any
suggestions?
that includes custom format tags. The application is being updated to take
html-formatted text. I was hoping that inserting html text to a Word
document would be more straightforward than trapping all the tags and
replacing them with Word styles. I could not find anything to insert html
into a Word document and have the html tags interpreted as formatting. When
I insert the text, the html tags are included as literal text. I know you
can copy html-formatted text from IE and paste it into Word with the
formatting intact. Is there a clean way to do this in Word VBA? I would hate
to have to create an html document from the text, open it in IE, select it
all, copy it and then paste to Word. But that's all I can find so far. Any
suggestions?