Share via


Cell.Delete Method

Deletes a table cell and optionally controls how the remaining cells are shifted.

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

Syntax

'Declaration
Sub Delete ( _
    ByRef ShiftCells As Object _
)
'Usage
Dim instance As Cell
Dim ShiftCells As Object

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

Parameters

  • ShiftCells
    Type: System.Object%
    The direction in which the remaining cells are to be shifted. Can be any WdDeleteCells constant. If omitted, cells to the right of the last deleted cell are shifted left.

See Also

Reference

Cell Interface

Cell Members

Microsoft.Office.Interop.Word Namespace