Excel cannot be open the file 'XXX.xlsx' because the file format or file extension is not valid
I can open this file on my mackbook. But it doesn't open iMac. The file is saved on onedrive and I didn't move it.
macOS Ventura
I can open this file on my mackbook. But it doesn't open iMac. The file is saved on onedrive and I didn't move it.
macOS Ventura
I solved the issue after updating Excel to the latest version.
The name doesn' have non-ASCII.
I can't open it when I copied it to local drive or when I opened it directly from onedrive.
What version of macOS?
Does the file name contain non-ASCII characters?
Does it open if you copy it to a local folder?
What version of Excel is running on each machine?
Can you open the file in Excel online directly from One-drive?
Try saving a copy under a different name?
Is the file name in your Question 'XXX.xlsx' within single quotation marks ?
Excel cannot be open the file 'XXX.xlsx' because the file format or file extension is not valid