Introducedin | ||||
---|---|---|---|---|
|
Description |
---|
Excerpt |
---|
Opens a spreadsheet from a SharePoint List Item. |
Signature | ||||
---|---|---|---|---|
| ||||
public static void Open(this ExcelTemplate template, Microsoft.SharePoint.SPListItem listItem, String fileName) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Shared Sub Open(ByVal template As ExcelTemplate, ByVal listItem As Microsoft.SharePoint.SPListItem, ByVal fileName As String) |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The current ExcelTemplate object which is opening the file |
Param | ||||
---|---|---|---|---|
| ||||
SharePoint List Item to which the file is attached |
Param | ||||
---|---|---|---|---|
| ||||
The name of the file to open. The file must be a BIFF8 format (Excel 97 or later) .xls or .xlt file or an OOXML format .xlsx, .xlsm, .xltx, or .xltm file. |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
Open will throw this exception if |
Exception | ||||
---|---|---|---|---|
| ||||
Remarks | ||
---|---|---|
|