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.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
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