'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)
bool SetRefersTo( int contextRow, int contextColumn, string 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.