Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / DefinedName Class / GetRefersTo(Int32,Int32) Method
An integer value indicates the context row index.
An integer value indicates the context column index.


In This Topic
GetRefersTo(Int32,Int32) Method
In This Topic
Gets the formula in A1 format which the defined name refers to.
Syntax
'Declaration
 
Public Function GetRefersTo( _
   ByVal contextRow As Integer, _
   ByVal contextColumn As Integer _
) As String
 
'Usage
 
Dim instance As DefinedName
Dim contextRow As Integer
Dim contextColumn As Integer
Dim value As String
 
value = instance.GetRefersTo(contextRow, contextColumn)

Parameters

contextRow
An integer value indicates the context row index.
contextColumn
An integer value indicates the context column index.

Return Value

The string value represents formula which the defined name refers to.
See Also