Cell.Split method (Publisher)

Splits a merged table cell back into its constituent cells. Returns a CellRange object representing the constituent cells.

Syntax

expression.Split

expression A variable that represents a Cell object.

Return value

CellRange

Remarks

If the specified cell is not a merged cell resulting from using the Merge method, an error occurs.

Example

The following example splits the first cell in the table in shape one on page one of the active publication into its constituent cells. Shape one must contain a table, the first cell of which is a merged cell, for this example to work.

Dim cllMerged As Cell 
 
Set cllMerged = ActiveDocument.Pages(1).Shapes(1).Table.Cells.Item(1) 
 
cllMerged.Split

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.