Office Apps Crashing

How to Stop Excel from Closing After Computer Goes to Sleep

Steven ParkerSteven Parker Oct 19, 2026 871 views

Question details

The user needs to prevent Microsoft Excel from unexpectedly closing or crashing when the computer enters or wakes up from sleep mode.

How to Stop Excel from Closing After Your Computer Goes to Sleep
Product
Microsoft Excel
Device & OS
Windows
Scenario
The computer goes into sleep mode or remains inactive while Microsoft Excel is open.
Observed behavior
Excel closes unexpectedly during the sleep or inactive state, which may lead to data loss and increased workbook loading times upon waking.
Before you start

Save all your active workbooks and completely close any open Office applications before attempting system repairs or updates.

Solution 1Recommended

Perform an Online Repair of Microsoft 365

Running the built-in online repair tool can fix corrupted Office installation files that may cause Excel to crash after your computer wakes from sleep.

Microsoft 365 includes a repair utility designed to resolve unexpected application closures. The 'Online Repair' option is highly recommended as it thoroughly reinstalls necessary components.

1
Access the Control Panel

Click the Start menu or search bar on your taskbar, type 'Control Panel', and press Enter. Ensure your view is set to 'Category'.

2
Locate Microsoft 365

Under the 'Programs' section, click on 'Uninstall a program'. Scroll through the list of installed applications and locate 'Microsoft 365'.

3
Run Online Repair

Right-click 'Microsoft 365' and select 'Change'. In the window that appears, select 'Online Repair' and click 'Repair'. Confirm the User Account Control prompt by selecting 'Yes'.

4
Restart Your Computer

Wait for the online repair process to complete, which may take several minutes depending on your internet connection. Once finished, restart your PC to apply the fixes.

Perform an Online Repair of Microsoft 365
Internet Connection Required: Online Repair requires a stable internet connection because it downloads fresh installation files from Microsoft servers.
Free Microsoft Office alternative

Experience Stable Performance with WPS Office

If Microsoft Excel continues to crash or close unexpectedly after your computer wakes from sleep, consider switching to WPS Office. It provides a lightweight, stable, and highly compatible alternative that keeps your spreadsheets secure.

  1. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office suite.
  2. 2. Install and Launch: Follow the installation wizard, then open WPS Spreadsheet.
  3. 3. Open Your Spreadsheets: Click 'Open' and select your existing .xlsx files to continue working seamlessly.
Highly stable performance, avoiding unexpected crashes during system sleep modes.Fully compatible with Microsoft Excel (.xlsx, .xls) and other major Office formats.Lightweight design that consumes fewer system resources.Free to use with a familiar user interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Will I lose my unsaved data if Excel closes during sleep mode?

If AutoRecover is enabled in your settings, Excel may recover your file the next time you launch the application. You can check for recovered files by opening Excel and looking at the Document Recovery pane on the left side of the screen.

Why do Office apps crash when the computer wakes from sleep?

This often happens due to temporary communication failures between your computer's hardware, the Windows power management system, and corrupted Office installation files. Keeping Windows and Office updated usually resolves power-state compatibility bugs.

Is a Quick Repair different from an Online Repair in Microsoft 365?

Yes. Quick Repair fixes minor issues quickly without requiring an internet connection. Online Repair takes longer and completely reinstalls Office files to fix major corruption, which requires an active internet connection.