Page tree
Skip to end of metadata
Go to start of metadata

Introduced in build 7.1.0.1855

Description

Opens a spreadsheet from a SharePoint List Item.

C#
vb.net

Parameters

template
The current ExcelTemplate object which is opening the file
listItem
SharePoint List Item to which the file is attached
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 List Items. To use this method, you must add a reference to SoftArtisans.OfficeWriter.ExcelWriter.SharePointIntegration.dll

  • No labels