Click or drag to resize
NanoXLSX

WorksheetAddCellFormula(String, Int32, Int32, Style) Method

Adds a cell formula as string to the defined cell address

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public void AddCellFormula(
	string formula,
	int columnNumber,
	int rowNumber,
	Style style
)

Parameters

formula  String
Formula to insert
columnNumber  Int32
Column number (zero based)
rowNumber  Int32
Row number (zero based)
style  Style
Style to apply on the cell
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException if the passed cell address is out of range
See Also