"Excel cannot open the file 'filename.xlsx' because the file format or extension is not valid."

New Contributor

Hi

 

I have a file that is saved on One Drive.

 

I had a power cut yesterday evening and when I turned on my PC today, the file will not open.

 

I get the following message:

 

"Excel cannot open the file 'filename.xlsx' because the file format or extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file"

 

The file format has not changed so it isn't that.

 

I've tried repairing on opening but I get the same message.

 

Is my file really lost forever? This had 5 years worth of work on it and I thought it would always be recoverable if stored on One Drive.

 

Thanks

1 Reply

I managed to fix this.

 

Version history wasn't showing up on my PC, I had to go to the one drive app and find version history there and recover a previous verison.