How to Close One Word or Excel Document Without Closing Others
Question details
The user needs a method to close only the active Word or Excel document without accidentally shutting down all other open documents of the same type.

- Product
- Microsoft Word and Excel
- Device & OS
- not provided
- Scenario
- Working with multiple open documents in an Office application and needing to close just the current file.
- Observed behavior
- Clicking the 'X' button in the upper-right corner closes the entire application, shutting down all open documents instead of just the active one.
Ensure you have saved any recent changes in the specific document you intend to close to prevent accidental data loss.
Use Keyboard Shortcuts to Close the Active Document
The fastest and most reliable way to close only the current document is by using specific keyboard shortcuts designed for child windows.
Instead of clicking the 'X' in the upper-right corner (which is designed to close the parent application window), you can use dedicated shortcuts to close just the current file.
Click anywhere inside the Word or Excel document you want to close to ensure it is the active window.
Press 'Ctrl + W' or 'Ctrl + F4' on your keyboard. Note: On some laptops or smaller keyboards, you may need to press 'Ctrl + Fn + F4'.

Use the File Menu to Close
Using the built-in File menu ensures you are strictly targeting the specific file rather than the entire application window.
Add the Close File Command to the Quick Access Toolbar
You can add a dedicated 'Close' button to your Quick Access Toolbar for seamless one-click access in the future.
Use WPS Office to Manage Multiple Documents Seamlessly
Unlike traditional office software that opens multiple separate windows, WPS Office features a modern, browser-like tabbed interface. This allows you to easily view, switch between, and close individual documents without ever accidentally closing the entire application.
- 1. Launch WPS Office: Open WPS Office and load your desired Word, Excel, or PDF documents.
- 2. Navigate via Tabs: Notice that all opened documents neatly align as separate tabs at the top of the main window, similar to a web browser.
- 3. Close Specific Tabs: To close a single document, simply click the small 'x' icon located directly on that specific document's tab. Your other files and the application itself will stay open.

Frequently Asked Questions
Why does clicking the 'X' in the corner close all my Excel files?
The 'X' button in the extreme upper-right corner is designed to close the entire application instance. If your version of Office groups multiple opened files under a single parent application window, clicking this 'X' shuts down the application entirely, thereby closing all currently opened files inside it.
Can I recover a document if I accidentally close the whole application without saving?
Yes. If you had unsaved changes, Office typically creates an auto-recovery file. Reopen the application and check the Document Recovery pane on the left side, or navigate to File > Info > Manage Document > Recover Unsaved Documents to retrieve your work.
How do I ensure a document is the active one before using a close shortcut?
Before using a shortcut like Ctrl+W, click anywhere within the text or data cells of the document you want to close. This brings that specific file into focus, ensuring the system registers it as the active window.




