Xceed Workbooks for .NET v1.4 Documentation
DeleteRange(String,String,DeleteRangeShiftType) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Worksheet Class > DeleteRange Method : DeleteRange(String,String,DeleteRangeShiftType) Method
The Address of the Cell that is located at the start of the CellRange that will be deleted.
The Address of the Cell that is located at the end of the CellRange that will be deleted.
Specifies the DeleteRangeShiftType.
Deletes a CellRange using Cell Addresses to identify the range and allows to specify in which direction the Cells located after the deleted range will be shifted.
Syntax
'Declaration

 

Public Overloads Sub DeleteRange( _

   ByVal startingCellAddress As String, _

   ByVal endingCellAddress As String, _

   ByVal shiftType As DeleteRangeShiftType _

) 
'Usage

 

Dim instance As Worksheet

Dim startingCellAddress As String

Dim endingCellAddress As String

Dim shiftType As DeleteRangeShiftType

 

instance.DeleteRange(startingCellAddress, endingCellAddress, shiftType)

Parameters

startingCellAddress
The Address of the Cell that is located at the start of the CellRange that will be deleted.
endingCellAddress
The Address of the Cell that is located at the end of the CellRange that will be deleted.
shiftType
Specifies the DeleteRangeShiftType.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Worksheet Class
Worksheet Members
Overload List