Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SetFormula Method
Row index of the specified cell
Column index of the specified cell
Formula to place in the specified cell


In This Topic
    SetFormula Method (SheetView)
    In This Topic
    Sets a formula in a specified cell on this sheet.
    Syntax
    'Declaration
     
    
    Public Sub SetFormula( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal value As String _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim value As String
     
    instance.SetFormula(row, column, value)
    public void SetFormula( 
       int row,
       int column,
       string value
    )

    Parameters

    row
    Row index of the specified cell
    column
    Column index of the specified cell
    value
    Formula to place in the specified cell
    Exceptions
    ExceptionDescription
    Specified row index is out of range; must be between 0 and the total number of rows
    Specified column index is out of range; must be between 0 and the total number of columns
    See Also