Importing HTML table into Word 2003

A

avarghese

Hi,

Here's what I'm trying to do. I have several JSP pages that creates HTML
tables as output. I use Document.Open to pull this HTML table into a
temporary word document. After that I use InsertFile to import that temporary
word document into the actual document I'm working on (I do this to prevent
memory issues on some of my larger tables).

Anyway, the problem I'm facing is, if one of the cells in the table has
either a greater than (>) or less than (<) symbol, the text gets truncated
from that character onwards. For example, if the cell text is:

Fever (in the absence of neutropenia, where neutropenia is defined as ANC
<1.0 x 10e9/L)

What gets imported into word is:

Fever (in the absence of neutropenia, where neutropenia is defined as ANC

Why is that? Why am I loosing the < character and everything after it? Is
there a way I can circumvent this? Is there a Word Patch? I'm not an expert
VBA programmer. This does not happen if I call the JSP page outside in
Internet Explorer. It opens up fine and displays all the text but in Word I'm
loosing half of the text.

Any help is greatly appreciated,

Thanks
Alex
 

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