12 errors · When Excel won't cooperate

File & Workbook Errors

Cannot open. Corrupt file. Protected View won't let me edit. File is locked. When Excel refuses to work with your workbook — these are the fixes.

⚠️ Before you try any fix, back up your file. Copy the .xlsx to another folder first. Recovery attempts sometimes make things worse — always work on a copy so the original stays safe.

File and workbook errors are the scariest kind because you can't even open the file to diagnose. Below are the 12 most common file-level issues with the fixes that work most often. If nothing here helps, Excel's built-in Recovery Mode has surprising success rates on truly corrupt files.

The four you'll see most

Cannot open

Excel cannot open the file

Top causes: (1) file extension doesn't match content (.xls file renamed to .xlsx or vice versa), (2) file was blocked by Windows because it came from the internet, (3) file corruption during download, (4) unsupported file format.

Fix: right-click file → Properties → check "Unblock". Also try Open → browse → select file → dropdown "Open and Repair".
Full cannot-open guide →
Corrupt file

The file is corrupt or damaged

Cause: Improper shutdown while Excel was writing, disk error, network transfer glitch, or macro that damaged workbook structure. Excel offers "Open and Repair" but success varies.

Fix: File → Open → browse → select file → click dropdown next to Open button → "Open and Repair" → try Repair first, Extract if that fails.
Full corrupt file recovery →
Protected View

Protected View blocking edits

Cause: Excel treats files from email, internet, or unsafe locations as risky by default. Opens them in read-only Protected View. Not really an error — a security feature.

Fix: click the yellow "Enable Editing" bar at the top. Only do this if you trust the source. Adjust default behavior in File → Options → Trust Center.
Full Protected View guide →
File in use

File already in use / locked

Cause: Someone else has the file open (in a shared network location or cloud), OR you closed Excel improperly last time and the lock file didn't clear. Look for a hidden file named ~$filename.xlsx in the same folder.

Fix: check with team who has it open. Or find and delete the ~$filename.xlsx lock file. Force-close Excel via Task Manager if a stuck process holds it.
Full file-in-use guide →

All 12 file & workbook errors

Recovery methods in order — try these when nothing opens

  1. Open and Repair: Excel → File → Open → browse → select file → dropdown next to Open button → "Open and Repair" → Repair first, then Extract if needed
  2. Change the file extension: if it's a .xlsx, try renaming to .xls or .xlsm (or vice versa) — sometimes the extension is wrong
  3. Rename .xlsx to .zip: Excel files are secretly ZIP archives. Rename, then explore inside — you can often extract sheets manually
  4. Open in another app: Google Sheets, LibreOffice Calc, and Numbers sometimes open Excel files that Excel itself refuses
  5. Use Recover Unsaved Workbooks: File → Info → Manage Workbook → Recover Unsaved Workbooks. Excel keeps auto-recovery copies
  6. Restore from backup: OneDrive/SharePoint file history, Windows Previous Versions, or Time Machine on Mac
  7. Third-party recovery tools: Stellar, DataNumen, and others specialize in corrupt Excel files — try if the data is critical

Prevention patterns

  • Save often, save incrementally: weekly-named files (report-2026-W03.xlsx) let you roll back to any week
  • Use cloud storage with version history: OneDrive, SharePoint, Google Drive all keep file history for weeks
  • Avoid closing Excel by killing the process: proper File → Close ensures lock files clear
  • Don't work on files directly on network drives: copy to local disk first, edit, then upload
  • Enable AutoSave and AutoRecover: File → Options → Save → check both, set 5-minute interval
  • Split massive workbooks: files over 100 MB corrupt more easily. Break large models into multiple files linked by Power Query

Frequently asked questions

What does "Open and Repair" actually do?

Excel scans the file for damaged structure and attempts to reconstruct valid parts. "Repair" tries to keep as much data as possible. "Extract" gives up on formulas and just extracts values. Extract preserves more data but loses your calculations.

My file has a ~$ prefix and I can't delete it — what is that?

Excel's lock file that indicates the workbook is currently open by someone. Normally deleted automatically when Excel closes. If Excel crashed, the lock stays. Close Excel completely (check Task Manager for any leftover Excel processes) then delete the ~$ file manually.

Why does Protected View keep appearing on trusted files?

Windows marks files that came from the internet with a "zone identifier". You can remove it: right-click the file → Properties → check "Unblock" at the bottom → OK. Or add the folder to Excel's Trusted Locations.

How do I open a password-protected file if I forgot the password?

Officially: you can't. Excel's encryption is strong enough that brute-force attempts take years. If you set the password recently, check password managers, sticky notes, or common passwords you use. Third-party tools claim recovery but success is low on modern Excel files.

My file was 5 MB yesterday and is now 200 MB — what happened?

Bloat. Usually from formatted-but-empty rows (formatting extending to row 1,048,576), embedded images at full resolution, or duplicated named ranges. Save as .xlsx then reopen — often shrinks 30-50%. Or use our file size reduction guide.

Prevent file errors before they happen.

The Add-in flags workbook bloat, unused cells, and structural issues — the early signs of corruption. Fix them before they become recovery emergencies.

Get the Add-in →