Selection.SplitTable Method (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .SplitTable

expression Required. A variable that represents a Selection object.

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.

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

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

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