Fix Excel 2019 Closing When Saving Macro-Enabled Workbooks
Question details
The user needs to stop Excel 2019 from closing unexpectedly when saving macro-enabled workbooks.

- Product
- Microsoft Excel 2019
- Device & OS
- Windows
- Scenario
- Saving a macro-enabled workbook after testing Excel in Safe Mode and disabling COM add-ins.
- Observed behavior
- Excel closes unexpectedly during the save operation.
Close Excel and other Office applications before starting the repair. Make sure you have an internet connection available if you need to run Online Repair.
Repair the Microsoft Office installation
Use Office repair to address damaged installation files that may be causing Excel to close while saving.
In Windows, open Settings and select Apps > Apps & features, or open Control Panel > Programs > Programs and Features.
Select your Microsoft Office installation, choose Modify or Change, and approve the Windows prompt if it appears.
Select Quick Repair and click Repair. Follow the prompts and wait for the process to finish.
If Excel still closes when saving, return to Modify or Change, select Online Repair, and click Repair. Follow the prompts to complete the repair.
Restart Windows, open Excel 2019, and try saving the macro-enabled workbook again.

Work with spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Microsoft Office formats, making it easy to move everyday spreadsheet work. It does not repair Microsoft Excel, and macro compatibility should be tested separately.

Frequently Asked Questions
Should I run Quick Repair or Online Repair first?
Start with Quick Repair from the Office Modify or Change menu. If Excel still closes when saving, return to the same menu and run Online Repair.
Where can I find the Office repair option?
Open Windows Settings > Apps > Apps & features, select Microsoft Office, and choose Modify. Alternatively, use Control Panel > Programs > Programs and Features and choose Change.
Does Online Repair need an internet connection?
Yes. Connect to the internet before selecting Online Repair in the Office repair window.
Will WPS Office run every macro in my XLSM workbook?
Macro support and compatibility can vary. Test the workbook and its macros in WPS Office before relying on them; WPS does not repair the Excel installation.




