Share via


Cells.Delete Method

Deletes cells in a table 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 Cells
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

Cells Interface

Cells Members

Microsoft.Office.Interop.Word Namespace