PicoXLSX Library Documentation
![]() | WorksheetAddNextCellFormula Method (String, Style) |
Adds a formula as string to the next cell position
Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

C#
public void AddNextCellFormula( string formula, Style style )
Parameters
- formula
- Type: SystemString
Formula to insert - style
- Type: PicoXLSXStyle
Style to apply on the cell

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) |
