Spread WPF 17
GrapeCity.Excel Namespace / IExcelReader Interface / SetCellValue Method
The zero based sheet index used to locate the IExcelWorksheet instance
The zero based cell row index
The zero based cell column index
The object used to set the value


In This Topic
    SetCellValue Method
    In This Topic
    Set value to a specified cell
    Syntax
    'Declaration
     
    Function SetCellValue( _
       ByVal sheet As Short, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal value As Object _
    ) As Boolean
    'Usage
     
    Dim instance As IExcelReader
    Dim sheet As Short
    Dim row As Integer
    Dim column As Integer
    Dim value As Object
    Dim value As Boolean
     
    value = instance.SetCellValue(sheet, row, column, value)
    bool SetCellValue( 
       short sheet,
       int row,
       int column,
       object value
    )

    Parameters

    sheet
    The zero based sheet index used to locate the IExcelWorksheet instance
    row
    The zero based cell row index
    column
    The zero based cell column index
    value
    The object used to set the value

    Return Value

    true If the cell is in a valid cell in the specified worksheet, otherwise, false
    See Also