Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / ParseFormula Method
A string value indicates the formula text.
An integer value indicates the context row index.
An integer value indicates the context column index.


In This Topic
    ParseFormula Method (Worksheet)
    In This Topic
    Parses the specified formula to expression.
    Syntax
    'Declaration
     
    
    Public Function ParseFormula( _
       ByVal formula As String, _
       Optional ByVal contextRow As Integer, _
       Optional ByVal contextColumn As Integer, _
       Optional ByVal isA1Reference As Nullable(Of Boolean) _
    ) As Expression
    'Usage
     
    
    Dim instance As Worksheet
    Dim formula As String
    Dim contextRow As Integer
    Dim contextColumn As Integer
    Dim isA1Reference As Nullable(Of Boolean)
    Dim value As Expression
     
    value = instance.ParseFormula(formula, contextRow, contextColumn, isA1Reference)

    Parameters

    formula
    A string value indicates the formula text.
    contextRow
    An integer value indicates the context row index.
    contextColumn
    An integer value indicates the context column index.
    isA1Reference

    Return Value

    A GrapeCity.CalcEngine.Expression value represents the parsed expression.
    See Also