PicoXLSX 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: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

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

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