Forum Discussion
Corrupted Excel file ? / Fichier corrompu ?
It sounds like your file itself may not be truly damaged in the binary sense — the symptoms fit more with Excel having saved it in a “hidden window” state or with OneDrive leaving a locked/duplicate copy behind.
Maybe you can try this Recovery steps.
Make a local copy and work on that (Rename it to something different (MyFile_recovered.xlsx) and store it somewhere outside your OneDrive folder so sync won’t interfere.)
Open in Excel desktop with visibility reset (Go to File → Options → Advanced → Display → make sure “Show all windows in the Taskbar” is checked.)
Force unhide via VBA if the ribbon option fails (Paste this: ThisWorkbook.Windows(1).Visible = True in VBA Editor)
If it still won’t open normally (Try File → Open → Browse → select your copy → Open and Repair)
Last resort – recover from OneDrive version history (In the OneDrive web interface, right-click the file → Version history)
Hope this helps you a little