Split Method

Microsoft PowerPoint Visual Basic

Split Method

       

Splits a single table cell into multiple cells.

expression.Split NumRows, NumColumns

expression   Required. An expression that returns a Cell object.

NumRows   Required Long. Number of rows that the cell is being split into.

NumColumns   Required Long. Number of columns that the cell is being split into.

Example

This example splits the first cell in the referenced table into two cells, one directly above the other.

ActivePresentation.Slides(2).Shapes(5).Table.Cell(1, 1).Split 2, 1