VBA & Macro Problems

Fix Macro-Enabled Excel Files Closing After Windows Updates

Rana GarciaRana Garcia Nov 25, 2026 868 views

Question details

Identify why older macro-enabled Excel workbooks close after a Windows update and find a safe way to troubleshoot the issue.

Fix Macro-Enabled Excel Files Closing After Windows Updates
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.
Before you start

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.

Solution 1Recommended

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.

1
Record Windows and Office builds

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.

2
Check update history

Open Settings > Update & Security > Windows Update > View update history. Record the relevant cumulative and servicing stack updates and their installation dates.

3
Find the application error

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.

4
Compare test environments

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.

5
Test the VBA components

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.

Collect crash details and test the workbook
Update order is not proof of a cause: Servicing stack updates are normally installed before cumulative updates, but installation history alone does not establish that the order caused the crash. Ask Microsoft Support to review the servicing history and known issues for the affected Windows 10 version.
Free Microsoft Office alternative

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.

Open and edit spreadsheets in a familiar interfaceCompatible with common Microsoft Excel formats, including XLSXReview workbook data while investigating an Excel installation issueFree and lightweight for everyday office tasks
microsoft office alternative - wps office

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.