Fix Excel Crashing and Creating Blank Files When Saving
Question details
The user experiences complete application crashes when attempting to save Excel files, which often results in the creation of corrupted or zero-kilobyte files on local and network drives.

- Product
- Microsoft Excel
- Device & OS
- Windows 7
- Scenario
- Saving a spreadsheet to either a local hard drive or a network location.
- Observed behavior
- Excel abruptly crashes and leaves behind a blank or 0KB file. Standard troubleshooting methods like Safe Mode, Office repair, and reinstallation fail to fix the issue.
Before proceeding, check your AutoRecover folder to salvage any unsaved work, and ensure you have administrative privileges to manage installed software and system firewall settings.
Remove Conflicting Third-Party Add-ins and Compilers
Identify and uninstall third-party software or developer tools that integrate hidden add-ins into Excel, which often bypass Safe Mode testing.
Certain third-party applications, particularly development compilers or system utilities, install deep-level Excel plug-ins. These plug-ins can interfere with the file saving process, causing Excel to abruptly crash and generate a 0KB file.
Click the Start menu, type 'Control Panel', and press Enter. Navigate to 'Programs' and select 'Programs and Features'.
Look through the list of installed programs for any recently added third-party compilers, developer tools, or unrecognized software that might interact with Office applications.
Right-click the conflicting application and select 'Uninstall'. Follow the on-screen prompts to completely remove the software from your system.
Launch Excel, go to File > Options > Add-ins. At the bottom of the window, select 'COM Add-ins' from the Manage dropdown and click 'Go' to ensure no residual plug-ins remain active.

Troubleshoot FirewallAPI.dll Errors
Fix save crashes triggered by network or security conflicts specifically tied to the FirewallAPI.dll faulting module.
Try WPS Office to Avoid Excel Crashes and Save Errors
If Microsoft Excel continues to crash or corrupt your spreadsheets during saves, WPS Office provides a highly stable, lightweight, and free alternative that is completely compatible with your existing files.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Install WPS Office: Run the setup file and follow the quick on-screen instructions to install the suite on your PC.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx files directly. You can now edit and save securely without the fear of file corruption.

Frequently Asked Questions
Why does my Excel file turn into a zero-byte file when it crashes?
When Excel crashes in the middle of a save operation, it fails to write the actual data to the disk. It only manages to create the initial temporary shell in the destination folder, resulting in an empty 0KB file.
How do I check the Windows Event Viewer for Excel crash reports?
Press Windows Key + X and select Event Viewer. Expand 'Windows Logs' and click on 'Application'. Look for red 'Error' entries related to 'Excel.exe' to identify the specific faulting module, such as FirewallAPI.dll.
Can a firewall really cause Excel to crash when saving?
Yes. If your firewall settings are overly strict or if the system's firewall module (FirewallAPI.dll) becomes corrupted, it can abruptly sever Excel's connection to a network drive during a save, triggering a fatal application crash.




