SharePoint Pals
 | Sign In
Sync Excel with SharePoint list for Bulk Insert & Update Records.
by Arunraj Venugopal 30 Mar 2015
SharePoint Developer
Today  :   8     Total  :    13732

By default, Sync excel with Sharepoint list was available with the previous version of excel, but the synch feature is not existing in the excel 2010 version onwards for which in Google, add one synchronization reference should be uploaded in the excel file which is not working.

When we export the sharepoint list into excel, the synchronization option will not be available in the right click properties for which the below macro to be added and executed to get the desire sharepoint list and sync option in the right click properties.

Let us look at the steps to synch excel with sharepoint list.

1. Open an excel file and press Alt +F11. Select Workbook from the list.


2. Following macro to be added in the workbook open method

 Dim ws  As worksheet
 Set ws =thisworkbook.worksheets(1)
 Dim src(1) As Variant
 Src(0) =”  & ”/_vi_bin”
 Src(1) =”D28c1csD-F969-47C1-9C0C-61CAEB57C26A” (List Id)
 If ws.listObjects.count = 0 then
 	Ws.ListObjects.Add xlSrcExternal, src,True,xlYes, ws.Range(“A1”)
   Set ObjListObj=ws.ListObjects(1)
 End if 

The macro will fetch data from the list “Test” in the SharePoint site “experiments” and insert into the excel sheet 1.

3. Go to SharePoint site and the list which has to be sync with excel file. Click Export to Excel


4. Click Enable button


5. Click Data -> Connection->Properties


6. Click Definition tab and copy the content in the Command Text field& close the excel file.clip_image009

7. The value for src(1) is <LISTNAME>{D28C1C5D-F969-47C1-9C0C-61CAEB57C26A}</LISTNAME>

8. The value for src(0) is <LISTWEB></LISTWEB>

9. Save the excel file as Excel 97-2003 workbook


10. Whenever the workbook is opened, the macro get executed and retrieved the SharePoint list into the excel sheet if the macro is enabled by default. Otherwise click enable macro at the top of the excel file.

11. Execute the Update method once the insert or update process is done. Or

Right click on the sheet in which the sharepoint list data retrieved from the SP and select Sync with sharepoint list. In this case, no need to use the below code..


12. Press F8 (line by line execution ) or F5 to execute the macro

13. Refresh the SharePoint list to make sure that the insert / modify records are synchronized with the list

blog comments powered by Disqus

SharePoint Pals

SharePoint Pals, a community portal for SharePoint developers, Administrators and End Users. Let's join hands and share the point together.
Read this on mobile


Angular Js Training In Chennai
Advanced Angular Js training with real world developer scenarios
Angular Js, Web Api and Ionic for .Net Developers
All in one client side application development for .Net developers
Angular Js For SharePoint Developers
Get ready for the future. Its no more just C#

Get Connected

SharePoint Resources

SharePoint 2013 and 2010 Web Parts
Free Web Parts with Source Code for SharePoint Community

SharePoint 2013 Books and Tutorials
Collection of free SharePoint 2013 books and tutorials (eBooks, pdfs)

Supported By

Contribute your article and be eligible for a one month Free Subscription for Plural Sight. The Author of the most popular New Article (published in the previous month) will be awarded with a Free One month Plural Sight Subscription. Article can be sent to in a word document.

Related Resources

Recent Tweets

Twitter January 15, 00:25
How To Enable Target Value And Actual Value In #D3 Gauge Chart

Twitter January 15, 00:24
How To Open #SharePoint List Hyperlink Column In Modal #Popup Window

Twitter January 15, 00:24
Quick Introduction To #Asp.NetCore And It’s Features

Twitter January 15, 00:22
How To Configure #PerformancePoint Services To Use Secure Store In #SharePoint 2013

Twitter January 15, 00:21
How To Block Or Disable #Office365 Services

Follow us @SharePointPals
Note: For Customization and Configuration, CheckOutRecent Tweets Documentation