Share via


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)

Syntax

'Declaration
Sub InsertCells ( _
    ByRef ShiftCells As Object _
)
'Usage
Dim instance As Selection
Dim ShiftCells As Object

instance.InsertCells(ShiftCells)
void InsertCells(
    ref Object ShiftCells
)

Parameters

Remarks

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.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace