Introduced in build 18.104.22.1685
Saves a specified Workbook as a BIFF8 format (Excel 97 or later) .xls file.
excelApplicationThe current ExcelApplication object which is saving the workbook to file
Workbookobject representing the workbook to save.
docLibSharePoint Document Library that contains the Excel spreadsheet being opened
fileNameSpecifies a file name for the Workbook. ExcelWriter will save the file to the document library using this name. If a file with the same name exists, it will be overwritten by the new Excel file if the overwrite parameter is set to True.
overwriteSet to True to overwrite an Excel file if one already exists by that name in the Document Library
System.ExceptionIf there is a problem creating, opening, or writing to the file specified, or reading from the workbook object.