PicoXLSX Library Documentation
![]() | WorkbookSaveAs Method |
Saves the workbook with the defined name
Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

C#
public void SaveAs( string filename )
Parameters
- filename
- Type: SystemString
filename of the saved workbook

Exception | Condition |
---|---|
IOException | Throws IOException in case of an error |
RangeException | Throws an RangeException if the start or end address of a handled cell range was out of range |
FormatException | Throws a FormatException if a handled date cannot be translated to (Excel internal) OADate |
StyleException | Throws an StyleException if one of the styles of the workbook cannot be referenced or is null |
