GrapeCity.Xaml.Excel
SetCellFormula Method


The zero based sheet index used to locate the IExcelWorkbook instance
The zero based cell row index
The zero based cell column index
The formula used to set the value
Set formula for a specified cell.
Syntax
'Declaration
 
Function SetCellFormula( _
   ByVal sheet As Short, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal cellFormula As IExcelFormula _
) As Boolean
'Usage
 
Dim instance As IExcelReader
Dim sheet As Short
Dim row As Integer
Dim column As Integer
Dim cellFormula As IExcelFormula
Dim value As Boolean
 
value = instance.SetCellFormula(sheet, row, column, cellFormula)
bool SetCellFormula( 
   short sheet,
   int row,
   int column,
   IExcelFormula cellFormula
)

Parameters

sheet
The zero based sheet index used to locate the IExcelWorkbook instance
row
The zero based cell row index
column
The zero based cell column index
cellFormula
The formula used to set the value

Return Value

true If the cell is in a valid cell in the specified worksheet, otherwise, false
Exceptions
ExceptionDescription
System.ArgumentNullExceptionthrows if the formula is null or empty.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

IExcelReader Interface
IExcelReader Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options