Office Apps Crashing

Fix Excel 2019 Closing When Saving Macro-Enabled Workbooks

Khadija KhanKhadija Khan Nov 18, 2026 869 views

Question details

The user needs to stop Excel 2019 from closing unexpectedly when saving macro-enabled workbooks.

Fix Excel 2019 Closing 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.
Before you start

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.

Solution 1Recommended

Repair the Microsoft Office installation

Use Office repair to address damaged installation files that may be causing Excel to close while saving.

1
Open installed apps

In Windows, open Settings and select Apps > Apps & features, or open Control Panel > Programs > Programs and Features.

2
Start Office repair

Select your Microsoft Office installation, choose Modify or Change, and approve the Windows prompt if it appears.

3
Run Quick Repair

Select Quick Repair and click Repair. Follow the prompts and wait for the process to finish.

4
Try Online Repair if needed

If Excel still closes when saving, return to Modify or Change, select Online Repair, and click Repair. Follow the prompts to complete the repair.

5
Restart and test

Restart Windows, open Excel 2019, and try saving the macro-enabled workbook again.

Repair the Microsoft Office installation
Allow time for Online Repair: Online Repair requires an internet connection and can take longer than Quick Repair.
Free Microsoft Office alternative

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.

Open and edit spreadsheets in a familiar interfaceWork with Microsoft Excel formats, including XLSX and XLSMUse a free, lightweight alternative for everyday spreadsheet tasksMove existing Office documents into WPS without starting over
microsoft office alternative - wps office

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.