Skip to end of metadata
Go to start of metadata

Introduced in build 7.1.0.1855

Description

Opens a spreadsheet from a SharePoint Document Library.

C#
vb.net

Parameters

template
The current ExcelTemplate object which is opening the file
docLib
SharePoint Document Library that contains the Excel spreadsheet being opened
fileName
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

ArgumentNullException
Open will throw this exception if null (C#) or Nothing (VB.NET) is passed to the method.
ArgumentException

Remarks

Icon

This is an extension method for the ExcelTemplate object to be used for opening spreadsheets from SharePoint Document Libraries. To use this method, you must add a reference to SoftArtisans.OfficeWriter.ExcelWriter.SharePointIntegration.dll

  • No labels