This documentation is archived and is not being maintained.

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


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.