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)

Usage

Dim ShiftCells As Object
Dim cells1 As Cells
cells1.Delete(ShiftCells)

Syntax

Sub Delete( _
    <InAttribute()> Optional ByRef ShiftCells As Object _
)
void Delete(
    [In, Optional] ref object ShiftCells
);
public: Void Delete(
    &Object^ ShiftCells
);
public void Delete(
    /*in*/System.Object ShiftCells
);
function Delete(
     ShiftCells : Object
);

Parameters

  • ShiftCells
    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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Cells Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Cells Members