[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IWorksheet.Range

Range Method

Range(string, string)

Get an IRange object that represents a cell or a range of cells.

Declaration
IRange Range(string cell1, string cell2 = null)
Function Range(cell1 As String, Optional cell2 As String = Nothing) As IRange
Parameters
Type Name Description
string cell1

The name of the range. This must be an A1-style reference.

string cell2

The cell in the lower-right corner of the range.

Returns
Type Description
IRange

An IRange object which provide access to cell values, formulas, formatting...

Range(params Reference[])

Get an IRange object that represents ranges of reference.

Declaration
IRange Range(params Reference[] references)
Function Range(ParamArray references As Reference()) As IRange
Parameters
Type Name Description
Reference[] references

The name of the reference ranges. This must be an A1-style reference.

Returns
Type Description
IRange