Selection.InsertCells method

Adds cells to an existing table.

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

void InsertCells(
	ref Object ShiftCells
)

Parameters

ShiftCells
Type: System.Object

Optional WdInsertCells.

The number of cells inserted is equal to the number of cells in the selection.

You can also insert cells by using the Add method of the Cells object.

Show: