Description
Saves a specified Workbook as a BIFF8 format (Excel 97 or later).xls file.
C#
vb.net
Parameters
workbook
AWorkbook
object representing the workbook to save.
stream
The output stream to write to. This stream must be open and writable. ExcelWriter will not close this stream; the calling program is responsible for closing the stream and releasing the resource.Exceptions
System.Exception
If there is a problem creating, opening, or writing to the file specified, or reading from the workbook object.Examples
C#
vb.net