NanoXLSX Library Documentation
NanoXLSX Library Documentation
NanoXLSX
NanoXLSX
Shortener Class
Shortener Methods
Formula Method
Formula(String) Method
Formula(String, Style) Method
Shortener
Formula(String, Style) Method
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: 2.6.2+7f12a949130e0be1e987e553d2d08c083176cdca
Syntax
C#
Copy
public
void
Formula
(
string
cellFormula
,
Style
style
)
Parameters
cellFormula
String
Formula to set
style
Style
Style to apply
Exceptions
Exception
Condition
WorksheetException
Throws a WorksheetException if no worksheet was defined
See Also
Reference
Shortener Class
Formula Overload
NanoXLSX Namespace
Copyright Raphael Stoeckli © 2025