Fix Macro-Enabled Excel Files Closing After Windows Updates
Question details
Identify why older macro-enabled Excel workbooks close after a Windows update and find a safe way to troubleshoot the issue.

- Product
- Microsoft Excel
- Device & OS
- Windows 10
- Scenario
- An older macro-enabled workbook is opened, edited, or saved after a Windows cumulative update.
- Observed behavior
- Excel may close when content is enabled, sheets are added, or the workbook is saved. Application errors may reference OLEAUT32.dll or ntdll.dll.
Confirm that the workbook and its macros come from a trusted source before enabling content. Note the action that closes Excel and whether the issue affects one workbook or several.
Collect crash details and test the workbook
Use this approach to identify the affected builds and determine whether the issue follows the workbook or the computer.
Press Windows+R, enter winver, and record the Windows version and build. In Excel, open File > Account > About Excel and record the Office version and build.
Open Settings > Update & Security > Windows Update > View update history. Record the relevant cumulative and servicing stack updates and their installation dates.
Open Event Viewer and go to Windows Logs > Application. Find errors at the time Excel closed, then record the faulting application, faulting module, exception code, and event details.
Open the workbook on a fully updated test computer and repeat the action that caused the closure. With IT guidance, compare it with a suitable test system where the suspected update has been removed.
In Excel, create a clean macro-enabled workbook and add the same UserForm or VBA components needed to reproduce the issue. Test enabling content, adding a sheet, and saving.

Update and repair Microsoft Office
Use this solution to address a damaged Office installation or a compatibility issue already covered by supported updates.
Work with Excel spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for common Excel formats, making it easier to migrate everyday spreadsheet work. It does not repair Microsoft Excel or Windows update problems; test macro-dependent workbooks separately before relying on them.

Frequently Asked Questions
Do OLEAUT32.dll or ntdll.dll errors identify the cause?
Not by themselves. In Event Viewer, open Windows Logs > Application and record the full error, including the exception code and faulting application. Share it with Microsoft Support along with the Windows and Office builds.
Can a servicing stack update installed after a cumulative update cause Excel to close?
The order is worth documenting, but it does not prove causation. Check Settings > Update & Security > Windows Update > View update history, then ask Microsoft Support to review the servicing history and known issues.
Should I uninstall the suspected Windows update?
Only test update removal under appropriate IT guidance, preferably on a suitable test system. Compare the result with a fully updated computer before drawing conclusions.
How can I tell whether a UserForm or VBA component is involved?
Create a clean macro-enabled workbook in Excel, add the same UserForm or VBA components, and repeat the action that caused the original workbook to close. Enable macros only when the code is trusted.
Will WPS Office fix the Excel crash?
No. WPS Office is an alternative for working with spreadsheets, not a repair for Excel or Windows. Macro-dependent workbooks need separate compatibility testing before use.




