Office for Mac Issues

Fix Excel Workbooks Closing When Mac Enters Sleep Mode

Adam DavisAdam Davis Oct 23, 2026 871 views

Question details

The user needs to prevent Microsoft Excel workbooks from automatically closing or failing to reopen when their Mac enters sleep mode or the lock screen.

How to Fix Excel Workbooks Closing When Mac Enters Sleep Mode
Product
Microsoft Excel for Mac
Device & OS
macOS (M1 Mac)
Scenario
Putting the Mac to sleep or locking the screen while working on active spreadsheets.
Observed behavior
Excel workbooks abruptly close or fail to restore their previous state after waking the Mac from sleep mode.
Before you start

Manually save all your open Excel workbooks to your local drive or cloud storage before putting your Mac to sleep to prevent any accidental data loss while applying these fixes.

Solution 1Recommended

Disable the Close Windows When Quitting Setting in macOS

Disabling this macOS system behavior prevents applications from automatically discarding their open windows when closed or suspended.

macOS has a built-in feature that automatically closes application windows when you quit an app to save system resources. In some cases, sleep mode can trigger this behavior, causing your active Excel workbooks to disappear.

1
Open System Settings

Click the Apple menu in the top-left corner of your screen and select System Settings (or System Preferences on older macOS versions).

2
Navigate to Desktop & Dock

Scroll down the left sidebar and click on Desktop & Dock. If you are using macOS Monterey or older, click on the General icon instead.

3
Toggle the Window Setting

Locate the option labeled 'Close windows when quitting an application' and turn the toggle switch off (or uncheck the box).

Disable the Close Windows When Quitting Setting in macOS
Setting Applied: Once disabled, your Mac will attempt to preserve and reopen the exact windows you were working on when the system wakes up.
Free Microsoft Office alternative

Try WPS Office for a Stable Mac Experience

If Microsoft Excel continues to crash or close documents during Mac sleep mode, consider switching to WPS Office. It provides a highly stable, lightweight, and free alternative optimized for Apple Silicon Macs, ensuring your work remains safe and uninterrupted.

  1. 1. Download the App: Visit the official WPS Office website to download the macOS installer.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheets and seamlessly open your existing .xlsx files without format loss.
  3. 3. Work Uninterrupted: Enjoy editing your documents with reliable performance, even across sleep and wake cycles.
Fully compatible with Microsoft Excel (.xlsx) formatsHighly stable on macOS with optimized Apple Silicon (M1/M2/M3) supportLightweight architecture prevents heavy system resource usageFree to use with a familiar, easy-to-navigate interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Mac close applications when it goes to sleep?

macOS may close applications to save system memory or battery power. It can also happen if the 'Log out automatically after inactivity' privacy setting is enabled, which forcefully logs you out and terminates running applications.

Is the Excel sleep mode crashing issue specific to M1 Macs?

While it can happen on Intel Macs, this issue is frequently reported by users on Apple Silicon (M1, M2) Macs running specific versions of macOS (like Monterey). It is often tied to how macOS handles background app memory during the sleep cycle.

Will I lose my Excel data if the Mac goes to sleep and the app closes?

If AutoSave is disabled or you haven't saved your workbook manually before the Mac enters sleep mode, you risk losing unsaved progress when Excel abruptly closes.