Forum Discussion
Updating SharePoint List from Excel
Hi Ryuojiin,
Could you copy paste the formula and the error message so that I can help you?
To update the SharePoint list from Excel, you have to click on the "Edit" hyperlink on any row/item to modify. This hyperlink open the "edit item" page on SharePoint. Modify the item and Save it. Go back to Excel and refresh the table. Your data is updated in Excel.
You can of course modify serval items one by one, using their respective "Edit" hyperlink, and update the Excel file from times to times.
No video yet, sorry!
Keep me updated 🙂
Hi Sylvie, if I were to follow these steps, can I ensure that my excel would not be overriding any NEW items that are loaded in the SharePoint list and did not make it to my excel because of timing? I understand that my edits in excel will affect the items I am working on, but will new items that were not in SP at the time I exported the excel be overridden? The SharePoint is a live site with lots of users, so unless I shut down the site while I make the edits in excel there would be new traffic coming in and I want to make sure I don't delete them when I synch my excel back... Thanks!
- SusanSRGJun 04, 2023Copper ContributorThis article too seems to do the opposite. It allows for SharePoint list data to come into an Excel spreadsheet. We want our Excel spreadsheet to update our SharePoint list 😞
- Sylvie_in_FranceAug 04, 2021Brass ContributorHi Laura,
Updat
inge SharePoint from Excel is possible but more complicated. You have to use VBA and ado.net.
Here is an article I used a few years ago to do that : http://depressedpress.com/2014/04/05/accessing-sharepoint-lists-with-visual-basic-for-applications/ - LauraB1858Aug 04, 2021Copper Contributor
Thanks very much for this. Adding the edit link is really helpful, so I learned a new trick 🙂 I was trying to do several items at a time in excel because it is easier to manipulate data than in the SP list, and then have those changes synch with the SP. But if I have to click on each edit link one by one it does not help me much with the "mass updates". But thanks again for sharing your tip, it does work beautifully when we need to update a few records. Less scrolling than when making edits in SP directly.
- Sylvie_in_FranceAug 02, 2021Brass Contributor
Hi Laura,
When you create a connection from SharePoint to Excel, it is a one way link, from SharePoint to Excel. By default the synchronisation is done on demand, when you do "Refresh" the table on Excel side (you could change the settings on Excel side to deactivate or force the synchro when opening the Excel file, automate it on a regular basis, integrate it or not in the "Refresh all", etc.).
Each "Refresh" reloads all the data from SharePoint to Excel. Any new item is added, anys items modified override data previously loaded and any deleted item disappears from Excel. Any modification made directly in Excel is overrided.
Adding the hyperlinks "Edit" on Excel side as I explained allows you to open each item on Edit mode in SharePoint. There is one "Edit" button for each row in the Excel table, each row corresponding to a unique item in SharePoint. When you click "Edit" for a row, the Edit form opens in a browser and you can make changes on the item. Once saved (in SharePoint), go back to Excel and Refresh the table to load the modification. Of course, if there are lots of items in the SharePoint list and the refresh process is quite long, there is no need to refresh the Excel table immediately. You can make changes on several items and refresh the Excel file from times to times, when needed.
Hope that helps!