Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IName Interface / SetRefersTo Method
An integer value indicates the context row index.
An integer value indicates the context column index.
The formula in A1 format which the defined name refers to.


In This Topic
    SetRefersTo Method (IName)
    In This Topic
    Sets the formula in A1 format which the defined name refers to.
    Syntax
    'Declaration
     
    
    Function SetRefersTo( _
       ByVal contextRow As Integer, _
       ByVal contextColumn As Integer, _
       ByVal refersTo As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As IName
    Dim contextRow As Integer
    Dim contextColumn As Integer
    Dim refersTo As String
    Dim value As Boolean
     
    value = instance.SetRefersTo(contextRow, contextColumn, refersTo)

    Parameters

    contextRow
    An integer value indicates the context row index.
    contextColumn
    An integer value indicates the context column index.
    refersTo
    The formula in A1 format which the defined name refers to.

    Return Value

    A System.Boolean value represents whether the formula is changed successfully.
    See Also