A
Alex St-Pierre
Hi!
I would like to split a table into 2 pages and copy a new Header just before
the new table created (which is on the next page). So, I tried:
iRowSplit = 20
tbl.Rows(iRowSplit).Range.InsertBreak (wdPageBreak)
iP = docWord.Range(0, tbl.Range.End).Paragraphs.Count
iP = iP + 1
Set oRange = docWord.Paragraphs(iP).Range
oRange.Text = "My Header (continued)"
For any iP, it seems to be impossible to write text between table #1 and
table #2?
Any idea?
Thanks a lot!
Alex
I would like to split a table into 2 pages and copy a new Header just before
the new table created (which is on the next page). So, I tried:
iRowSplit = 20
tbl.Rows(iRowSplit).Range.InsertBreak (wdPageBreak)
iP = docWord.Range(0, tbl.Range.End).Paragraphs.Count
iP = iP + 1
Set oRange = docWord.Paragraphs(iP).Range
oRange.Text = "My Header (continued)"
For any iP, it seems to be impossible to write text between table #1 and
table #2?
Any idea?
Thanks a lot!
Alex