Introducedin | ||||
---|---|---|---|---|
|
Description |
---|
Excerpt |
---|
Opens a spreadsheet from a SharePoint Document Library. |
Signature | ||||
---|---|---|---|---|
| ||||
public static void Open(this ExcelTemplate template, Microsoft.SharePoint.SPDocumentLibrary docLib, String fileName) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Shared Sub Open(ByVal template As ExcelTemplate, ByVal docLib As Microsoft.SharePoint.SPDocumentLibrary, ByVal fileName As String) |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The current ExcelTemplate object which is opening the file |
Param | ||||
---|---|---|---|---|
| ||||
SharePoint Document Library that contains the Excel spreadsheet being opened |
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 | ||
---|---|---|
|