Click or drag to resize
NanoXLSX

WorksheetAddCellFormula(String, String) Method

Adds a cell formula as string to the defined cell address

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntax
C#
public void AddCellFormula(
	string formula,
	string address
)

Parameters

formula  String
Formula to insert
address  String
Cell address in the format A1 - XFD1048576
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException if the passed cell address is out of range
FormatExceptionThrows a FormatException if the passed cell address is malformed
See Also