Introducedin | ||||
---|---|---|---|---|
|
Description |
---|
Excerpt |
---|
Saves a specified Workbook as a BIFF8 format (Excel 97 or later) .xls file. |
Signature | ||||
---|---|---|---|---|
| ||||
public static void Save(this ExcelApplication excelApplication, Workbook workbook, Microsoft.SharePoint.SPListItem listItem, String fileName) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Overridable Sub Save(ByVal excelApplication As ExcelApplication, ByVal workbook As Workbook, ByVal listItem As Microsoft.SharePoint.SPListItem, ByVal fileName As String) |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The current ExcelApplication object which is saving the workbook to file |
Param | ||||
---|---|---|---|---|
| ||||
A |
Param | ||||
---|---|---|---|---|
| ||||
SharePoint List Item to which the file is attached |
Param | ||||
---|---|---|---|---|
| ||||
Specifies a file name for the Workbook. ExcelWriter will save the file as an attachment to the List Item using this name. |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
If there is a problem creating, opening, or writing to the file specified, or reading from the workbook object. |
Remarks | ||
---|---|---|
|
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|