HTML table too big to fit on page is lost

G

Grzegorz Zych

Hi

I need to insert some HTML-formatted text into a word document. I save the
HTML as a file and then use InsertFile to get it done.
It works great, except when I run into a table that is too big (too many
rows) to fit on one page. When that happens the table is cut short upon
reaching the end of the page, rather than continuing on the following page.

Is there some additional option I'm missing, or is it simply impossible?

Below is my file inserting code:


object _start = 0;
object _end = 0;
object ConfirmConversions = false;
object Link = false;
object Attachment = false;
object missing = System.Type.Missing;

Word.Range _range1 = pDoc.Range(ref _start, ref _end);
_range1.InsertFile(_fileName, ref missing, ref ConfirmConversions, ref Link,
ref Attachment);
 
S

Shane Liu

Hi,

I am running into the exact same issue. Were you able to figure out a solution? Thanks!
 
S

Shane Liu

Hi,

I am running into the exact same issue. Were you able to figure out a solution? Thanks!
 
S

Shane Liu

Hi,

I am running into the exact same issue. Were you able to figure out a solution? Thanks!
 

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