We often encounter the following problems when processing tables. Neither add nor delete Row can be operated directly. "Cannot access individual rows in this collection because the table has vertically merged cells. C #" is my summary. -------------------------------------------------------- | A | B ----------------- | C | the upper table is the approximate form, B is the cross-row, and A and C are on two rows, respectively, I need to use the program to dynamically add line doc like B and C. tables [1]. rows. add (ref beforRow); this code is just for a table with very good rules. What should I do? 1. doc. Tables [1]. Cell (2, 3). Split (ref rownum, ref colnum); // Split the merged cells into normal ones. Then use the preceding statement. 2. object beforRow = doc. Tables [1]. Cell (2, 3); doc. Tables [1]. Rows. Add (ref beforRow );