[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IName.SetRefersTo

SetRefersTo Method

SetRefersTo(int, int, string)

Sets the formula in A1 format which the defined name refers to.

Declaration
bool SetRefersTo(int contextRow, int contextColumn, string refersTo)
Function SetRefersTo(contextRow As Integer, contextColumn As Integer, refersTo As String) As Boolean
Parameters
Type Name Description
int contextRow

An integer value indicates the context row index.

int contextColumn

An integer value indicates the context column index.

string refersTo

The formula in A1 format which the defined name refers to.

Returns
Type Description
bool

A bool value represents whether the formula is changed successfully.