TableDeleteRow

Syntax

TableDeleteRow

Remarks

Deletes the row containing the insertion point, or deletes all rows containing part of the selection. If the insertion point or selection is not within a table, an error occurs.

Example

This example deletes the last row in a table if the table contains more than two rows:


If SelInfo(15) > 2 Then
    EndOfColumn
    TableDeleteRow
End If

See Also

SelInfo(), TableDeleteCells, TableDeleteColumn