Workbook.Shortener.Formula Method (String, Style)

NanoXLSX

NanoXLSX

WorkbookShortenerFormula Method (String, Style)

Sets a formula with style into the current cell and moves the cursor to the next cell (column or row depending on the defined cell direction)

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public void Formula(
	string formula,
	Style style
)

Parameters

formula
Type: SystemString
Formula to set
style
Type: NanoXLSX.StyleStyle
Style to apply
Exceptions
ExceptionCondition
WorksheetExceptionThrows a WorksheetException if no worksheet was defined
See Also