Worksheet.AddNextCellFormula Method (String, Style)

PicoXLSX

PicoXLSX

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)
Syntax
C#
public void AddNextCellFormula(
	string formula,
	Style style
)

Parameters

formula
Type: SystemString
Formula to insert
style
Type: PicoXLSXStyle
Style to apply on the cell
Exceptions
ExceptionCondition
StyleExceptionThrows an UndefinedStyleException if the active style cannot be referenced while creating the cell
RangeExceptionTrows a RangeException if the next cell is out of range (on row or column)
See Also