Click or drag to resize
NanoXLSX

WorkbookSaveAsAsync Method

Saves the workbook with the defined name asynchronous.

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntax
C#
public Task SaveAsAsync(
	string fileName
)

Parameters

fileName  String
filename of the saved workbook

Return Value

Task
Task object (void)
Exceptions
ExceptionCondition
IOExceptionMay throw an IOException in case of an error. The asynchronous operation may hide the exception.
RangeExceptionMay throw a RangeException if the start or end address of a handled cell range was out of range. The asynchronous operation may hide the exception.
FormatExceptionMay throw a FormatException if a handled date cannot be translated to (Excel internal) OADate. The asynchronous operation may hide the exception.
See Also