When Excel won't open a file, the fastest fix is usually to close Excel completely, reopen it, and use File > Open to browse to the file instead of double-clicking it. If the file still won't open, try Excel's built-in Open and Repair option, or open it in Excel Online to see whether the problem is the file or your installation. Most "won't open" cases come down to one of four things: the file is blocked, damaged, or from another program; Excel is stuck in a crashed state; the file association is broken; or the workbook is protected or password-protected in a way Excel cannot prompt for.
What You'll Need
- Excel installed on your device (Microsoft 365, Excel 2021, 2019, or 2016), or a browser signed in to Excel on the web with the file uploaded to OneDrive or SharePoint.
- The exact file path or email the file came from, so you can check where it actually lives.
- A second device or browser if possible, to confirm whether the problem travels with the file.
- Permission to edit the folder if the file is on a shared drive or network share.
Step-by-Step
- Restart Excel and try again. Close every Excel window, then sign out and back in to Windows or macOS if the app seems frozen. Many "cannot open" errors are just a hung background Excel process holding the file. On Windows, check Task Manager for leftover Excel processes and end them before reopening. Menu names differ slightly by version, device and region, so your screen may read a bit differently.
- Open the file from inside Excel instead of double-clicking. Launch Excel with a blank workbook, choose File > Open > Browse, and select the file. If it opens this way, the problem is your file association (step 7), not the workbook.
- Check the file is really an Excel workbook. In File Explorer or Finder, look at the extension. Excel opens .xlsx and .xlsm (macro-enabled) directly. A .xls file needs the right compatibility support. A .csv, .txt, or .html file is not a workbook and Excel may warn or refuse. If the extension is missing or wrong, right-click and open Properties to see the actual file type.
- Unblock an email attachment. Files downloaded or received by email can carry a Windows "blocked" flag. Right-click the file, open Properties, and if there is an Unblock checkbox at the bottom, tick it and click Apply. On macOS, use System Settings > Privacy & Security to check whether the file was blocked from opening.
- Use Open and Repair. In Excel, choose File > Open > Browse, select the problem file, and instead of clicking Open, use the arrow next to the Open button and choose Open and Repair. Choose Repair first; if that fails, reopen the dialog and choose Extract Data to recover values and formulas without formatting.
- Test the file in the browser. Upload the file to OneDrive or SharePoint and open it in Excel on the web. If it opens there, the workbook is fine and the fault is local to your installation. If it fails there too, the file is likely corrupt or genuinely protected.
- Fix the file association (Windows). If Excel is installed but double-clicking opens nothing, go to Settings > Apps > Default apps and set .xlsx and .xls to open with Excel. On a Mac, select the file, choose File > Get Info, and set Open with to Microsoft Excel, then click Change All.
- Check protection and passwords. If Excel asks for a password and you don't have it, no setting will unlock the file — the workbook owner must supply it or remove protection. If a file from a colleague opens read-only or shows Protected View, check the yellow bar at the top of the window and click Enable Editing if you trust the source.
- Look for permission and sync problems. On a shared drive, network folder, or synced OneDrive file, confirm you have read access and that the file is fully synced (no cloud-only placeholder that failed to download). Move the file to your local Desktop and try again to rule out sync.
- Update, then repair Office. Install pending Office updates, then on Windows go to Settings > Apps > Installed apps, select Microsoft 365 or Office, and choose Modify > Quick Repair. Run Online Repair only if Quick Repair fails, and note that repair can reset some custom settings. On macOS, run Microsoft AutoUpdate.
Common Mistakes
The most common error is repeatedly double-clicking a file that Excel has already rejected, which can pile up hung processes and make the second attempt fail too. Another is renaming a file's extension from .csv to .xlsx to "make it Excel" — that changes the label, not the contents, and can cause corruption warnings. People also skip Open and Repair and jump straight to reinstalling Office, which rarely helps because the fault is usually in the file. Finally, do not run a third-party "Excel repair" tool on a file you still need: extract the data first and keep the original untouched as a backup.
Tips
Before you try anything drastic, copy the problem file to a new folder and work on the copy — you keep the original intact. If a workbook opens but takes forever, look for a huge number of volatile formulas, external links to other workbooks, or a bloated used range. Saving a copy as .xlsx from a working machine often sheds old formatting that causes trouble. Keep one known-good version of important workbooks in OneDrive or SharePoint version history so you can roll back if a file becomes unreadable. For files that arrive by email, save them to disk first rather than opening from the attachment preview.
Troubleshooting
Nothing happens at all when you double-click. That points to file association or a hung Excel process, not file damage. Fix the default app as in step 7, then restart the PC.
Excel opens but shows a blank grey window. Close every Excel window, end leftover Excel processes in Task Manager, and reopen. Disabling add-ins one at a time from File > Options > Add-ins can identify a culprit.
"The file is corrupt and cannot be opened" appears. Use Open and Repair, then Extract Data. If both fail, check OneDrive or SharePoint version history for an earlier copy.
A message says the file is locked for editing by another user. Ask that person to close it, or open a read-only copy and save under a new name. Network shares can also hold phantom locks until the server refreshes.
The file opens on another computer but not yours. The workbook is fine; update Office and run Quick Repair on your install.
Excel opens every file except one type. Confirm the extension matches the real format, and remember macro-enabled .xlsm files may be blocked by your organization's security policy — that block cannot be overridden by a normal user.
Frequently Asked Questions
Can I recover a workbook that won't open?
Often yes. Try Open and Repair, then Extract Data, then look for an earlier version in OneDrive or SharePoint version history. If the file came from email, ask the sender for a fresh copy.
Why does Excel say the file is corrupt when it was fine yesterday?
Interrupted saves, a failed cloud sync, a full disk, or a crash during saving can leave a workbook half-written. Version history is the quickest route back to a good copy.
Do I need to reinstall Office to fix this?
Usually not. Reinstalling is a last resort. Quick Repair fixes most installation-level problems, and it is faster and safer.
Why won't an .xls file open in the latest Excel?
Modern Excel still opens .xls files, but they may be blocked by Protected View or by a security policy. Check the yellow bar for Enable Editing and confirm your organization allows the format.
Can I open the file in Google Sheets instead?
You can import many workbooks there, which helps you read the data, but formatting, macros, and some formulas will not carry over. Treat it as a recovery route, not a replacement.
What if the file needs a password I don't have?
There is no legitimate way around a password you don't hold. The person who set it must provide it or remove protection from their copy.