Cell.Split method (Word)
Splits a single table cell into multiple cells.
expression.Split (NumRows, NumColumns)
expression Required. A variable that represents a 'Cell' object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
NumRows | Optional | Variant | The number of rows that the cell or group of cells is to be split into. |
NumColumns | Optional | Variant | The number of columns that the cell or group of cells is to be split into. |
This example splits the first cell in the first table into two cells.
ActiveDocument.Tables(1).Cell(1, 1).Split NumColumns:=2
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.