Range.Delete(Object) Method

Definition

Deletes the object.

public object Delete (object Shift);
Public Function Delete (Optional Shift As Object) As Object

Parameters

Shift
Object

Optional Object. Specifies how to shift cells to replace deleted cells. Can be one of the following XlDeleteShiftDirection constants: xlShiftToLeft or xlShiftUp. If this argument is omitted, Microsoft Excel decides based on the shape of the range.

Returns

Applies to