Shortcut to close Excel

This guide will explain how to use a shortcut to close Excel or a Workbook. If you are working with Excel, we recommend you use shortcuts.

How to close Excel using a shortcut

On Windows, use the Alt + F4 shortcut to close Excel.

Alt F4

On a Mac, use the Command + Q.

Cmd Q

On Microsoft Excel for Windows, you can open the File menu and select ‘Close’ to close the application.

If you want to use a keyboard shortcut, the solution, in this case, is Alt, F, X.

Alt F X

Case study: Alt + F4 shortcut not works

What if your shortcut does not work in Excel? Here is a small case study to better understand the function. You are editing a formula, and the Function Arguments dialog box is open.

In this case, you have to use the Alt + F4 shortcut twice! The first keystroke will close the current Window the second will quit Excel. The method is the same in the case of other dialog boxes, like Name manager, Data validation, etc.

Tip: Press Esc to close the dialog box.

shortcut to close excel

Alt + F4 is a multipurpose command, and you can use it for any application.

How to close an Excel Workbook using a shortcut

Sometimes you want to close only a Workbook, not Excel.

In this case, use the Ctrl + W or the Ctrl + F4 command to close the Workbook.

If you have an unsaved Workbook, you have to save it.

save your changes to this file

For this purpose, use the Save As shortcut and forget this dialog box.

Not familiar with shortcuts? No problem, use the File menu, then choose the close option.

Learn all about Excel Shortcuts!

Additional resources:

Istvan Vozar

Istvan is the co-founder of Excelkid. He writes blog posts and helps people to reach the top in Excel.