NanoXLSX Library Documentation
![]() | 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)

C#
public void Formula( string formula, Style style )
Parameters
- formula
- Type: SystemString
Formula to set - style
- Type: NanoXLSX.StyleStyle
Style to apply

Exception | Condition |
---|---|
WorksheetException | Throws a WorksheetException if no worksheet was defined |
