Forum Discussion
Excel cannot be open the file 'filename.xlsx' because the file format or file extension is not valid
This error message is encountered in the following scenarios:
- The file is not compatible with the Excel-version
- The file has become corrupt or damaged
I copied and pasted the file to my desktop, right-click and changed '.xlsx' to '.xls'. Boom!! I got my file back.
Try to open your corrupt file in safe mode. Press Windows+R and write excel.exe /safe and click OK. Good Luck
- Ted12345Nov 09, 2021Copper ContributorThis saved my life thank u
- lollo585Feb 09, 2021Copper Contributor
I would like to try your solution for fixing the corrupt file by changing the extension, but I cannot find where to click to access it. How do I change it? Once I save the file to the desktop, right click, what do I do next?
- lollo585Feb 09, 2021Copper Contributor
In File Explorer, I clicked on view tab at the top and selected the option to show extensions. Then I renamed the extension to xls. Unfortuatenly, when the document opened, it was blank - thankfully it was a copy. Now I just need a different solution. I do appreciate your trying to help!
- asprolukosSep 09, 2021Copper Contributorlollo585, You helped us finding how to change the extension. For me it worked perfectly. The file opened. Sure enough to tell you it was a huge one, full of graphs and numbers and other data. Nothing was lost.
- LynnTBWFeb 08, 2021Copper Contributor
how do you right click andchange to XLS? this doesn't work for me - there is nowhere to change the xlsx toxls?!?!?victoriyaluna
- Zarna5641Nov 18, 2020Copper ContributorI just tried this and it didnt work. Its still telling me the file doesnt match. So basically my excel file wont open as an xlsx or an xls? Why not?!!! This is really annoying!!! I just got a new laptop and im trying to open my bills spreadsheet, but for the life of me cant get the file to open. This is ridiculous!! I just want to open the dang file. Why does everything have to be so fricken complicated!??!?!
- Zarna5641Nov 18, 2020Copper Contributor"I copied and pasted the file to my desktop, right-click and changed '.xlsx' to '.xls'. Boom!"
What did you click on when you right clicked in order to change the file type from xlsx to xls? Because I just tried this and cant figure it out.- AnnSchreihoferApr 11, 2022Copper ContributorOMG that worked!!! Thank you!