Fix Excel Workbook Corruption When printerSettings1.bin is Removed
Question details
The user needs to recover missing worksheets, formatting, and data from a corrupted macro-enabled workbook after an automatic repair deleted the printerSettings1.bin file.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to recover data from a corrupted macro-enabled workbook without a backup available.
- Observed behavior
- Excel performs an automatic repair that removes /xl/printerSettings/printerSettings1.bin, causing the file to open with missing worksheets, formatting, tables, named ranges, and data validation.
Make a copy of the corrupted original workbook and save it in a safe location before attempting any recovery steps to prevent permanent data loss during the repair process.
Recover the Corrupted Workbook Using WPS Office
Opening the corrupted file in an alternative office suite like WPS Office can bypass Excel's strict error-checking and restore missing content.
Because WPS Office handles file structures differently than Microsoft Excel, it can often read, render, and rebuild content from workbooks that Excel considers heavily corrupted.
Open WPS Office on your computer and select the Spreadsheets module.
Click on 'Menu' > 'Open' and select your corrupted macro-enabled workbook (.xlsm).
Once the file opens and the missing content is successfully displayed, click 'Menu' > 'Save As' and save it as a brand new .xlsm file.
Launch Microsoft Excel and open the newly saved file to verify that all your missing data, formatting, and tables have been restored.

Open the Workbook in Excel Safe Mode
Safe Mode allows you to open Excel without certain startup programs, add-ins, or settings that might interfere with opening the corrupted file.
Recover Corrupted Excel Files Easily with WPS Office
WPS Office offers robust file compatibility and can often open and repair corrupted workbooks that Microsoft Excel rejects. Restore your missing formatting, tables, and data effortlessly by simply opening and resaving your file.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your computer.
- 2. Open the Corrupted File: Launch WPS Spreadsheets and open the workbook that Excel previously failed to repair.
- 3. Save as a New File: Go to Save As and create a fresh copy of the workbook to fully rebuild and restore your internal data structure.

Frequently Asked Questions
Why did Excel remove the printerSettings1.bin file?
Excel removes this file during an automatic repair when it detects that the workbook's internal XML structure is corrupted. This is often due to macro execution errors or sudden application crashes. Excel strips out the corrupted components in an attempt to salvage the rest of the file.
Can poorly written macros corrupt an Excel workbook?
Yes. Macros that continuously modify the workbook structure without proper error handling or memory management can heavily corrupt the file's internal architecture, leading to missing data, formatting issues, and structural damage.
How can I prevent data loss from corrupted workbooks in the future?
Always maintain regular backups, utilize cloud storage with version history enabled (such as OneDrive or Google Drive), and ensure that your VBA macros include robust error handling before running them on important files.




