NanoXLSX Library Documentation
WorksheetAddNextCellFormula Method (String, Style) |
Adds a formula as string to the next cell position
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public void AddNextCellFormula( string formula, Style style )
Parameters
- formula
- Type: SystemString
Formula to insert - style
- Type: NanoXLSX.StyleStyle
Style to apply on the cell
Exceptions
Exception | Condition |
---|---|
StyleException | Throws an UndefinedStyleException if the active style cannot be referenced while creating the cell |
RangeException | Trows a RangeException if the next cell is out of range (on row or column) |
See Also