Share via


Cell.Split Method

Splits a single table cell into multiple cells.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Split ( _
    NumRows As Integer, _
    NumColumns As Integer _
)
'Usage
Dim instance As Cell
Dim NumRows As Integer
Dim NumColumns As Integer

instance.Split(NumRows, NumColumns)
void Split(
    int NumRows,
    int NumColumns
)

Parameters

  • NumRows
    Type: System.Int32
    Number of rows that the cell is being split into.
  • NumColumns
    Type: System.Int32
    Number of columns that the cell is being split into.

Examples

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).Split2, 1

See Also

Reference

Cell Interface

Cell Members

Microsoft.Office.Interop.PowerPoint Namespace