AppendTableRow
AppendTableRow 与 SelectTableCell方法结合使用,实现在当前SelectTableCell方法选中的单元格的下方添加新行。
语法:
pageofficectrl.word.AppendTableRow();
示例:
选中Word文档中名称为“PO_table”的书签内的第1个表格中的第2行第3列的单元格,并在此单元格的下方添加一行。
pageofficectrl.word.SelectTableCell("PO_table", 1, 2, 3);
pageofficectrl.word.AppendTableRow(); //添加新行