Edit

Share via


Cell.Split method (Word)

Splits a single table cell into multiple cells.

Syntax

expression.Split (NumRows, NumColumns)

expression Required. A variable that represents a 'Cell' object.

Parameters

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.

Example

This example splits the first cell in the first table into two cells.

ActiveDocument.Tables(1).Cell(1, 1).Split NumColumns:=2

See also

Cell Object

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.