Excel – SharePoint 2013 Export To Excel – “An unexpected error has occurred.”

excelsharepointsharepoint-2013

I have a SharePoint 2013 list that is working just fine in the web browser–I'm trying to get the "Export To Excel" function to work but am running into issues. When I click the button in the SharePoint ribbon, it allows me to download an OWSSVR.iqy file. If I open that file in Excel, it creates the connection to the SharePoint List and the data pulls just fine. I can hit "Refresh All" and see the new data get populated.

However, if I save that spreadsheet and give it to a coworker and THEY hit Refresh All, they are met with this error:

"An unexpected error occurred. Changes to your data cannot be saved."

This also seems to happen if I give them the OWSSVR.iqy file directly and THEY open it in Excel.

My end goal is to have a spreadsheet that I can share with all of our team so that anyone can go in and hit Refresh All to pull the latest data from the SharePoint list. What am I missing?

I'm curious if it has something to do with permissions for the list? I'm the owner of the SharePoint site so I have full control. These other users merely have Contribute level access, so I'm not sure if that's causing the issue?

Any help would be greatly appreciated!!!

Best Answer

I have encountered this issue in the past as well, and it was very frustrating until I found out what was causing it. If you export a list from a personal view to Excel, the user who's view it is can open and refresh the data on the spreadsheet just fine, but anyone who the spreadsheet is shared with will not be able to refresh the data as they don't have "permission" to see the view within SharePoint. Make sure that the list view you are using when exporting to excel is a public view and this issue should be resolved.