P
Prasad More
The following line of code in my application insert a new row after the last
row in table.
Row tRow = range.Tables[1].Rows.Add(ref missingValue);
Where
1. tRow is object of Microsoft.Office.Interop.Word.Row class
2. range is object of Microsoft.Office.Interop.Word.Range
This code works fine when table contains no vertically merged cells. If the
table contains vertically merged cells, Rows.Add returns null value.
Any idea "Why Rows.Add returns null when table contains vertically merged
cells"?.
Thanks,
Prasad
row in table.
Row tRow = range.Tables[1].Rows.Add(ref missingValue);
Where
1. tRow is object of Microsoft.Office.Interop.Word.Row class
2. range is object of Microsoft.Office.Interop.Word.Range
This code works fine when table contains no vertically merged cells. If the
table contains vertically merged cells, Rows.Add returns null value.
Any idea "Why Rows.Add returns null when table contains vertically merged
cells"?.
Thanks,
Prasad