[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IName.RefersToRange

RefersToRange Method

RefersToRange(int, int)

Gets the IRange object referred to by an IName object.

Declaration
IRange RefersToRange(int contextRow = -1, int contextColumn = -1)
Function RefersToRange(Optional contextRow As Integer = -1, Optional contextColumn As Integer = -1) As IRange
Parameters
Type Name Description
int contextRow

An integer value indicates the context row. -1 means the row of the active cell.

int contextColumn

An integer value indicates the context column. -1 means the column of the active cell.

Returns
Type Description
IRange

IRange.

Remarks

If the IName object doesn't refer to a range (for example, if it refers to a constant or a formula), this property returns null.