Set formula for a specified cell.
'Declaration
Function SetCellFormula( _
ByVal As System.Short, _
ByVal As System.Integer, _
ByVal column As System.Integer, _
ByVal As IExcelFormula _
) As System.Boolean
'Usage
Dim instance As IExcelReader
Dim sheet As System.Short
Dim row As System.Integer
Dim column As System.Integer
Dim cellFormula As IExcelFormula
Dim value As System.Boolean
value = instance.SetCellFormula(sheet, row, column, cellFormula)
System.bool SetCellFormula(
System.short ,
System.int ,
System.int column,
IExcelFormula
)
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
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6