Hello KentLaBerge,
Thank you for reaching out to the Microsoft Community and I'll be glad to assist you today.
I understand that you are experiencing an error "name of file.xlsx because the file format or file extension is not valid" when opening a spreadsheet.
You encounter this error message under the following circumstances:
- The file is incompatible with the Excel version.
- The file is damaged or corrupted.
Did you try opening the same file in the Online version of Excel, online XLSX Viewer or Google Sheets and see if it helps?
A. To open the damaged file, you can try changing file extensions and check if they help.
- Copy files from one folder to another folder or to the desktop.
(Before renaming, select "View>Show>File Extensions" on the menu bar to rename the file extension)
- Rename the .xlsx file to ".xlsx" and the file to ".xls".
- Click OK.
- Double-click the file and open it. It that didn't work,
Also see, the 'Repair a corrupted workbook' article to recover the damaged file-
https://support.microsoft.com/help/153a45f4-6ca...
B. To find the previous version of the file,
- Open the file you were working on.
- Go to File > Info.
- Select Version History.
Select the versions you would like to restore and select it.
Related article for your reference:'
https://support.microsoft.com/help/169cb166-e7e...
I hope this information helps. If you have any questions, please let me know and I will be happy to help you further.
Best regards,
Gunasekar N