Fix Excel 2019 Cannot Open XLSM Files
Question details
The user is unable to open XLSM (macro-enabled) workbooks in Excel 2019, even though standard XLSX files continue to open without issues.

- Product
- Excel 2019
- Device & OS
- Windows
- Scenario
- Attempting to access macro-enabled Excel workbooks after an unexpected system shutdown.
- Observed behavior
- XLSM files fail to open entirely, while XLSX files open normally. Standard Office repair and reinstallation methods have not resolved the issue.
Verify if the issue affects all XLSM files or just specific ones by creating a new blank macro-enabled workbook. Ensure your Windows system is fully updated.
Restore the XLSM File from a Previous Backup
Since an unexpected Windows shutdown may have corrupted the specific XLSM files, restoring a previous version can quickly recover your data.
If a sudden power loss or system crash occurred while the file was being accessed or saved in the background, the file structure might be damaged. Restoring a backup is the most reliable way to bypass file-level corruption.
Right-click the affected XLSM file on your computer and select 'Properties' from the context menu.
Navigate to the 'Previous Versions' tab to see if Windows File History has captured a usable backup.
Select a version dated before the unexpected shutdown and click 'Restore'. Alternatively, check your cloud storage like OneDrive or Google Drive for version history.

Repair Damaged Windows System Components
An unexpected shutdown can corrupt Windows system files required to process macros and file associations. Running the System File Checker can resolve deep OS-level issues.
Perform a Clean Boot to Isolate Interference
Third-party security software or background services might be blocking macro-enabled files from executing properly after a crash.
Open and Edit Excel Spreadsheets Easily with WPS Office
If Excel 2019 continues to experience system-level errors preventing files from opening, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative to manage all your spreadsheets seamlessly.
- 1. Download WPS Office: Visit the official WPS website and download the free version of WPS Office.
- 2. Open WPS Spreadsheets: Launch the WPS Spreadsheets application from your desktop.
- 3. Open your XLSM file: Click 'Open', navigate to your XLSM file, and open it to continue your work without system-level blockages.

Frequently Asked Questions
Why do XLSX files open but XLSM files do not?
XLSM files contain macros (VBA code), which require additional security checks and specific system components to run. If these components are corrupted by a sudden shutdown, XLSM files will fail to open while standard XLSX files remain unaffected.
Can I convert an XLSM file to XLSX to open it?
Yes, if you have another device or a different spreadsheet program, you can open the XLSM file and save it as an XLSX file. However, doing so will permanently remove all macros and VBA code from the workbook.
Does reinstalling Office fix corrupted file associations?
In most cases, a Quick Repair or Reinstallation of Office fixes associations. However, if the issue stems from deep Windows registry corruption or damaged core OS files, a simple Office reinstall may not be enough, requiring system-level troubleshooting like an SFC scan.
Is there a way to force Excel to open a damaged XLSM file?
You can try opening Excel first, navigating to File > Open, selecting the problematic XLSM file, clicking the arrow next to the 'Open' button, and choosing 'Open and Repair' to attempt built-in recovery.




