Closing a Workbook vs Closing Excel
Ctrl + W closes one file. Alt + F4 closes Excel entirely. Knowing the difference saves accidents.
One File or the Whole Program
Closing a workbook leaves Excel running with your other files open. Closing Excel shuts everything. The two shortcuts sit right next to each other in muscle memory.
- Ctrl + W โ Closes this workbook
- Alt + F4 โ Closes Excel entirely
- Prompt to save โ If there are changes
How to do it
Ctrl + W = close this file Alt + F4 = close Excel and every file in it
Both prompt you to save if there are unsaved changes, but only once per file.
| Item | What it does |
|---|---|
| Ctrl + W | Closes the current workbook |
| Ctrl + F4 | The same thing |
| Alt + F4 | Closes the whole program |
| The X button | Depends which X you click |
Which Shortcut Does What
Ctrl + W โธ this file closes, Excel stays open
| Action | Closes | Other files |
|---|---|---|
| Ctrl + W | This workbook | Stay open |
| Ctrl + F4 | This workbook | Stay open |
| Alt + F4 | All of Excel | All close |
| File โธ Close | This workbook | Stay open |
| The X button | Depends | Depends |
Result: Ctrl + W
Get into the habit of Ctrl + W. Alt + F4 closes everything, including work you forgot about.
Do this
- Use Ctrl + W to close one file
- Save before closing anything
- Check for unsaved files before Alt + F4
Avoid
- Pressing Alt + F4 and closing everything
- Dismissing the save prompt too quickly
- Assuming the X only closes one file
๐ The X on the title bar closes Excel when only one file is open, but only that file when several are.
Practice
- Open two files and close one with Ctrl + W.
- Check the other is still open.
- Note which X button closes what.
Quick quiz: You have four workbooks open and press Alt + F4. What happens?
- Only the current file closes
- Excel closes and prompts you to save each unsaved file
- Nothing, Excel ignores it
Show answer
Ctrl + W = one file Alt + F4 = the whole program โ Alt + F4 closes the application, taking every open workbook with it.
๐ Want the full interactive course? This is a free preview. The complete 39-module Excel Master Course โ with hands-on lessons, quizzes and a certificate โ is available inside the app.
Learn Excel the fun way
Bite-size interactive lessons, quizzes, streaks and a certificate.
Start free โ
Bite-size interactive lessons, quizzes, streaks and a certificate.
Start free โ