Share via


Cell.Split Method

Word Developer Reference

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.

Visual Basic for Applications
  ActiveDocument.Tables(1).Cell(1, 1).Split NumColumns:=2

See Also