Worksheet.AddNextCellFormula Method (String, Style)

NanoXLSX

NanoXLSX

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