How to Fix Excel Cannot Save XLSM Files on Windows 10
Question details
The user is unable to save edited XLSM macro-enabled workbooks in Excel on Windows 10.

- Product
- Microsoft Excel
- Device & OS
- Windows 10
- Scenario
- Editing and attempting to save an existing XLSM file on a Windows 10 system.
- Observed behavior
- Excel displays save errors, fails to repair the workbook, and may only generate a minimal XLBS recovery file missing data and formulas, despite the file working perfectly on Windows 7.
Before attempting any repairs, manually copy your XLSM workbook to a different folder or an external drive to ensure your current progress and macros are not permanently lost.
Use the Excel Open and Repair Tool
Utilize Excel's built-in repair utility to fix internal workbook corruptions that prevent the file from saving properly.
When an Excel file becomes corrupted, the application will often fail to complete the save process. The Open and Repair feature forces Excel to scan the document structure and recover salvageable data and VBA macros before opening it.
Open the Microsoft Excel application on your computer. Do not double-click the corrupted file directly.
Click on 'File' in the top ribbon, select 'Open', and click 'Browse' to locate your problematic XLSM file.
Instead of clicking the main 'Open' button, click the small drop-down arrow next to it, and select 'Open and Repair'.
A prompt will appear. Click 'Repair' to recover as much of your work as possible. Once opened, try saving the file under a new name.
Run Excel in Windows 7 Compatibility Mode
Since the file functions correctly on Windows 7, running the Excel application in compatibility mode on Windows 10 can bypass OS-level conflicts.
Test Other XLSM Workbooks
Determine if the save error is isolated to a single file or if it affects your entire Excel installation.
Try WPS Office for Better Compatibility and Seamless Spreadsheet Management
If Microsoft Excel continues to struggle with saving your XLSM files due to Windows 10 compatibility issues, consider switching to WPS Office. It provides a lightweight, highly compatible environment for your spreadsheets, allowing you to edit and save macro-enabled workbooks without OS-level conflicts.
- 1. Download the software: Visit the official WPS website and download the free WPS Office installer.
- 2. Install WPS Office: Run the downloaded setup file and follow the quick on-screen instructions to install the suite.
- 3. Open your XLSM file: Launch WPS Spreadsheet, go to Menu > Open, and select your problematic XLSM file to edit and save it effortlessly.

Frequently Asked Questions
Why does Excel create an XLBS file instead of saving my XLSM file?
An XLBS file is a temporary binary file created by Excel during the save process. If Excel encounters a critical error, a macro conflict, or a crash before the save is complete, it leaves this file behind. It often indicates a failure in the saving mechanism and usually contains incomplete data.
Will I lose my macros if I use the Open and Repair tool on an XLSM file?
When using Excel's 'Open and Repair' feature, the application will attempt to recover all data, including macros. However, if the VBA project itself is the source of the corruption, Excel may strip out the macros to salvage the rest of the workbook data.
How can I prevent XLSM files from corrupting on Windows 10?
To minimize corruption risks, keep your Office and Windows 10 installations fully updated. Additionally, avoid saving files directly to unstable network drives, keep your macro code clean and compiled, and maintain regular backups using Excel's built-in AutoRecover feature.




