Message-ID: <346727189.7869.1711624526342.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7868_1360804877.1711624526342" ------=_Part_7868_1360804877.1711624526342 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html SharePointIntegration.ImportData(Area, Microsoft.SharePoint.SPLi= st)

SharePointIntegration.ImportData(Area, Microsoft.SharePoint.SPList)=

Introduc= ed in build 7.1.0.1855

=20

Description

=20

Imports data from a SharePoint List to the specified Area. The new data will overwrite values and formulas in the= target worksheet cells, but existing formatting will be preserved.

=20
C#
=20
public static Area ImportData(this Area area, Microsoft.SharePoint.SPList l=
ist)
=20
=20
vb.net
=20
Public Shared Function ImportData(ByVal area As Area, ByVal list As Microso=
ft.SharePoint.SPList) As Area
=20
=20

Parameters

=20
area
The current Area object which is calling ImportData=20
list
SharePoint List to use as a data source for the Area=20

Returns

An=20 Area object representing the set of cells populated with the i= mported values.=20

Remarks

=20
=20 Icon=20
=20

This is an extension method for the Area object to be used for binding S= harePoint data to spreadsheets from within SharePoint. To use this method, = you must add a reference to SoftArtisans.OfficeWriter.ExcelWriter.SharePoin= tIntegration.dll

=20
=20
=20

Examples

=20
C#
=20

          Area importedArea =3D a.ImportData(myList);
        
=20
=20
vb.net
=20

          Dim importedArea As Area =3D a.ImportData(myList)
        
=20
------=_Part_7868_1360804877.1711624526342--