Forum Discussion

ca_rem's avatar
ca_rem
Brass Contributor
Aug 07, 2019
Solved

Unable export to excel from Sharepoint List using "Export to Excel" Built-in function?

Hi.

I have a question abount the "Export to Excel" built in function in SharePoint List.

I download query.iqy file from this Button.

I use Excel to Open it.

But I enable and this error appear: An unexpected error was occurred. Changes to your data cannot be saved

I checked my credential of Office Application and It's the same with the account using sharepoint list, in the image below it is "MS 365 account 1". But only the source when I install this application from the "MS 365 account 2" but 2 account from the same organization.

How can I fix this error?

  • Hi ca_rem - the initial load does put in several columns that you may not be interested in. all you have to do is hide or delete those columns. whenever you open and refresh the data, it will keep those columns hidden. I've used this successfully several times. I have one spreadsheet that is connected to 3 lists and then have built the pivot tables on new tabs in the same workbook.

11 Replies

  • zeusPH's avatar
    zeusPH
    Copper Contributor
    Is there a solution for this one already?? Im also looking for this. Thanks
    • Jan_T327's avatar
      Jan_T327
      Copper Contributor
      I had same issue and managed to resolve it by two simple steps.
      First I tried to add new key into registry according MS documentation: https://learn.microsoft.com/en-us/office/troubleshoot/excel/cannot-export-to-excel

      then I completely sign-out all accounts from Excel and tried it again.

      Hope this will help to someone 🙂
  • 365Win355's avatar
    365Win355
    Copper Contributor

    Landed on this thread today with a similar problem.  I was not able to open my downloaded query files in an excel spreadsheet. All I did was to sign in to my excel through the office and click my autosave on. Make sure you are also signed-in to excel via office The query files data showed up perfectly!

  • XanderTsai's avatar
    XanderTsai
    Copper Contributor

    Hi ca_rem,

     

    Just found your issue on the web. Since im facing the same issues as well. Hopefully this helps but i found a work around for this. If you need to export to excel, switch to classic experience and select export to excel. You should be able to open the excel file now. Hope this helps. 

     

    Thanks.

     

    Xander

  • Hi ca_rem - I've been running into this a lot lately. My workaround is to

    1. Go to the Site Assets Library on the same site
    2. Create an Excel file
    3. Data > Get Data
    4. Connect to SharePoint Online list

    Hope that helps!

    • ca_rem's avatar
      ca_rem
      Brass Contributor

      Kelly_Edinger 

      Follow your instruction. I do:

      1. Done

      2. Done

      3,4. You mean I open Excel Application on Window and go to Data > Get Data > Connect to SharePoint Online list. Right? My steps is below.

      But what's next?

      I go back again to the "query.iqy". But nothing changes. The error's still there.

      Can you give me some advices?

       

      • Hi ca_rem - when you select your list, it should populate the Excel. What's happening after you select your list?

Resources