Selection.SplitTable method (Word)

Inserts an empty paragraph above the first row in the selection.

Syntax

expression.SplitTable

expression Required. A variable that represents a Selection object.

Remarks

If the selection isn't in the first row of the table, the table is split into two tables. If the selection isn't in a table, an error occurs.

Example

If the selection is in a table, this example splits the table.

If Selection.Information(wdWithInTable) = True Then 
 Selection.SplitTable 
End If

This example splits the first table in the active document between the first and second rows.

ActiveDocument.Tables(1).Rows(2).Select 
Selection.SplitTable

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.