---
title: "Close the workbook: Ctrl+W in Excel (Mac Cmd+W) | PracticeExcel"
description: "Close the workbook in Excel with Ctrl+W on Windows or Cmd+W on Mac. Practice it in a live grid."
canonical_url: "https://practiceexcelonline.com/shortcuts/close-workbook"
locale: en
meta:
  "og:description": "Close the workbook in Excel with Ctrl+W on Windows or Cmd+W on Mac. Practice it in a live grid."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q2xvc2UgdGhlIHdvcmtib29rOiBDdHJsK1cgaW4gRXhjZWwgKE1hYyBDbWQrVyk%2Cdescription_~Q2xvc2UgdGhlIHdvcmtib29rIGluIEV4Y2VsIHdpdGggQ3RybCtXIG9uIFdpbmRvd3Mgb3IgQ21kK1cgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvY2xvc2Utd29ya2Jvb2si%2Cs_2O8HmmcJMp-MXU0X.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Close the workbook: Ctrl+W in Excel (Mac Cmd+W) | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q2xvc2UgdGhlIHdvcmtib29rOiBDdHJsK1cgaW4gRXhjZWwgKE1hYyBDbWQrVyk%2Cdescription_~Q2xvc2UgdGhlIHdvcmtib29rIGluIEV4Y2VsIHdpdGggQ3RybCtXIG9uIFdpbmRvd3Mgb3IgQ21kK1cgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvY2xvc2Utd29ya2Jvb2si%2Cs_2O8HmmcJMp-MXU0X.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Close the workbook**

<dl><dt>**Windows**</dt>
<dd>`Ctrl+W`</dd>
<dt>**Mac**</dt>
<dd>`Cmd+W`</dd>
</dl>

Ctrl+W

Closes the active workbook and asks to save changes. In a browser it closes the tab, so practice it in Excel itself.

**Your browser keeps this combination for itself, so we explain it here but can't drill it in the page.**

## **More Workbook shortcuts**

- [**Create a chart on a new sheet**`F11`](https://practiceexcelonline.com/shortcuts/chart-sheet)
- [**Close Excel**`Alt+F4`](https://practiceexcelonline.com/shortcuts/close-excel)
- [**Format data as a table**`Ctrl+T`](https://practiceexcelonline.com/shortcuts/create-table)
- [**Open the list of macros**`Alt+F8`](https://practiceexcelonline.com/shortcuts/macros)
- [**Insert a new sheet**`Shift+F11`](https://practiceexcelonline.com/shortcuts/new-sheet)
- [**Create a new workbook**`Ctrl+N`](https://practiceexcelonline.com/shortcuts/new-workbook)
- [**Switch to the next open workbook**`Ctrl+Tab`](https://practiceexcelonline.com/shortcuts/next-workbook)
- [**Open the VBA editor**`Alt+F11`](https://practiceexcelonline.com/shortcuts/open-vba)
- [**Save the workbook**`Ctrl+S`](https://practiceexcelonline.com/shortcuts/save)
- [**Save as a new file**`F12`](https://practiceexcelonline.com/shortcuts/save-as)
- [**Show or hide the ribbon**`Ctrl+F1`](https://practiceexcelonline.com/shortcuts/toggle-ribbon)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/shortcuts/close-workbook#webpage","@type":"WebPage","description":"Close the workbook in Excel with Ctrl+W on Windows or Cmd+W on Mac. Practice it in a live grid.","name":"Close the workbook: Ctrl+W in Excel (Mac Cmd+W)","url":"https://practiceexcelonline.com/shortcuts/close-workbook","breadcrumb":{"@id":"https://practiceexcelonline.com/shortcuts/close-workbook#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/shortcuts/close-workbook"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/shortcuts/close-workbook#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel keyboard shortcuts","item":"https://practiceexcelonline.com/shortcuts","position":2},{"@type":"ListItem","name":"Close the workbook: Ctrl+W in Excel (Mac Cmd+W)","position":3}]},{"@id":"https://practiceexcelonline.com/shortcuts/close-workbook#article","description":"Close the workbook in Excel with Ctrl+W on Windows or Cmd+W on Mac. Practice it in a live grid.","headline":"Close the workbook: Ctrl+W in Excel (Mac Cmd+W)","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q2xvc2UgdGhlIHdvcmtib29rOiBDdHJsK1cgaW4gRXhjZWwgKE1hYyBDbWQrVyk%2Cdescription_~Q2xvc2UgdGhlIHdvcmtib29rIGluIEV4Y2VsIHdpdGggQ3RybCtXIG9uIFdpbmRvd3Mgb3IgQ21kK1cgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvY2xvc2Utd29ya2Jvb2si%2Cs_2O8HmmcJMp-MXU0X.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/shortcuts/close-workbook#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/shortcuts/close-workbook#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q2xvc2UgdGhlIHdvcmtib29rOiBDdHJsK1cgaW4gRXhjZWwgKE1hYyBDbWQrVyk%2Cdescription_~Q2xvc2UgdGhlIHdvcmtib29rIGluIEV4Y2VsIHdpdGggQ3RybCtXIG9uIFdpbmRvd3Mgb3IgQ21kK1cgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvY2xvc2Utd29ya2Jvb2si%2Cs_2O8HmmcJMp-MXU0X.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q2xvc2UgdGhlIHdvcmtib29rOiBDdHJsK1cgaW4gRXhjZWwgKE1hYyBDbWQrVyk%2Cdescription_~Q2xvc2UgdGhlIHdvcmtib29rIGluIEV4Y2VsIHdpdGggQ3RybCtXIG9uIFdpbmRvd3Mgb3IgQ21kK1cgb24gTWFjLiBQcmFjdGljZSBpdCBpbiBhIGxpdmUgZ3JpZC4%2Ceyebrow_Excel%2Bkeyboard%2Bshortcuts%2Csite_practiceexcel%2Cp_Ii9zaG9ydGN1dHMvY2xvc2Utd29ya2Jvb2si%2Cs_2O8HmmcJMp-MXU0X.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
