How to Fix Excel Trying to Close a File That Is Not Open
Question details
Excel displays a persistent dialog box attempting to save or close a file that is not open, which cannot be canceled and causes the application to freeze.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Using Microsoft Excel for daily tasks or attempting to launch the application.
- Observed behavior
- A save or close dialog appears for an unopened file. The dialog is stuck, preventing interaction with Excel, and reappears even after force-closing Excel via Task Manager and restarting the software.
Make sure you have saved all other active workbooks and backed up your critical data to a separate folder before force-closing Excel or modifying installation files.
Migrate Data to a New Workbook
Use this method if the issue only occurs when working with one specific workbook, as the file itself may be corrupted.
File corruption can cause Excel to behave erratically, including triggering infinite saving or closing dialog loops for phantom files. Migrating your data cleanly to a fresh workbook often strips away the corrupted elements.
Launch Microsoft Excel normally and create a completely new, blank workbook from the start screen.
Open the problematic workbook. Highlight the data in your worksheets, right-click, and select Copy (or press Ctrl + C).
Switch to your newly created blank workbook. Right-click the first cell and use the 'Paste Special' options to paste your data and formatting cleanly, then save this new file with a different name.

Start Excel in Safe Mode
If the phantom dialog affects all workbooks, starting Excel in Safe Mode will help identify if a third-party add-in is causing the freeze.
Repair the Microsoft Office Installation
When Safe Mode and file migration do not resolve the looping dialog, the Office installation files may be damaged and require a built-in repair.
Use WPS Office to Avoid Excel Freezing Issues
If Microsoft Excel continues to freeze or get stuck on phantom files, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet tool that opens Microsoft Office formats smoothly and without unexpected errors.
- 1. Download WPS Office: Get the official WPS Office suite for free from the WPS website and complete the quick installation.
- 2. Open your files: Double-click your existing Excel files to open them seamlessly in WPS Spreadsheet.
- 3. Work without interruptions: Edit, save, and manage your workbooks without worrying about unresponsive saving dialogs.

Frequently Asked Questions
Why does Excel show a saving dialog for a file I didn't open?
This usually occurs due to a corrupted workbook, a malfunctioning third-party add-in, or temporary files stuck in Excel's AutoRecover folder that trick the application into trying to save a phantom instance of a file.
How do I force close Excel when the dialog cannot be canceled?
Press Ctrl + Shift + Esc to open the Windows Task Manager. Locate Microsoft Excel in the 'Processes' tab, right-click it, and select 'End task' to force the application to close.
Will a Windows clean boot fix Excel freezing issues?
Yes, performing a clean boot in Windows starts the operating system with a minimal set of drivers and startup programs. This helps determine if a background application, antivirus program, or third-party service is interfering with Excel's save functions.




