Public Overridable Sub Save(ByVal excelApplication As ExcelApplication, ByVal workbook As Workbook, ByVal listItem As Microsoft.SharePoint.SPListItem, ByVal fileName As String)
{signature}
{parameters}
{param:excelApplication}The current ExcelApplication object which is saving the workbook to file{param}
{param:workbook}A {{Workbook}} object representing the workbook to save.{param}
{param:listItem}SharePoint List Item to which the file is attached{param}
{param:fileName}Specifies a file name for the Workbook. ExcelWriter will save the file as an attachment to the List Item using this name.{param}
{exceptions}
{exception:System.Exception}If there is a problem creating, opening, or writing to the file specified, or reading from the workbook object.{exception}
{remarks}
{note}This is an extension method for the ExcelApplication object to be used for saving spreadsheets to SharePoint List Items. To use this method, you must add a reference to |