NativeExcel for .Net Developer's Reference

IRange.Delete Method

Deletes a cell or a range of cells from the worksheet.

Overload List

Deletes a cell or a range of cells from the worksheet and shifts other cells up to replace deleted cells.

[Visual Basic] Sub Delete()
[C#] void Delete();
[C++] void Delete();
[JScript] function Delete();

Deletes a cell or a range of cells from the worksheet.

[Visual Basic] Sub Delete(ByVal XlDeleteShiftDirection)
[C#] void Delete(XlDeleteShiftDirection);
[C++] void Delete(XlDeleteShiftDirection);
[JScript] function Delete(XlDeleteShiftDirection);

See Also

IRange Interface | NativeExcel Namespace | Insert Method