|
![]() |
#1 |
Developer
|
Цитата:
Цитата:
SelectRow Method - Selects the row that contains the insertion point, or selects all rows that contain the selection. If the selection isn't in a table, an error occurs
А выделить ячейки/строки таблицы можно, например, так: Код: rows = table.Rows(); row1 = rows.Item(rowIndex1) row2 = rows.Item(rowIndex2) range1 = row1.Range(); range2 = row2.Range(); range = document.Range(range1.Start(), range2.End()); range.Select(); // или сразу range.Copy() Код: cell1 = table.Cell(rowIndex1, columnIndex1); range1 = cell1.Range(); cell2 = table.Cell(rowIndex2, columnIndex2); range2 = cell2.Range(); range = document.Range(range1.Start(), range2.End()); range.Select(); // или сразу range.Copy() ![]() Пустые строки с форматом текущей строки после нее можно добавить так: Код: cell = table.Cell(rowIndex, columnIndex); cell.Select(); selection = appl.Selection(); selection.InsertRowsBelow(linesCount); |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|