When your Excel spreadsheet goes gray, it usually means the workbook or sheet is protected, the window has lost focus, or Excel is in a mode that locks editing. The fastest fix is to check the sheet protection status and unprotect it if you have the password, then click back into the grid to restore normal view. If that doesn't work, close and reopen Excel or restart your computer. Below are the exact steps to diagnose and fix the gray screen.

What You'll Need

  • Your Excel workbook file (saved locally or in OneDrive/SharePoint)
  • The password for the sheet or workbook, if it is protected
  • Access to Excel on desktop (Windows or Mac) or Excel for the web

Step-by-Step

  1. Click inside the grid. Sometimes the gray appearance is just because the Excel window is not active. Click any cell in the worksheet. If the ribbon and cells become normal, the issue was simply lost focus.
  2. Check if the sheet is protected. Go to the Review tab on the ribbon. If you see a button labeled "Unprotect Sheet," the sheet is protected. Click it. If prompted, enter the password. If you don't have the password, you cannot unprotect it—see Troubleshooting.
  3. Check workbook protection. On the Review tab, look for "Protect Workbook." If it says "Unprotect Workbook," click it and enter the password if prompted. This can also gray out parts of the interface.
  4. Look at the sheet tabs. If all sheet tabs are gray and you cannot switch sheets, the workbook structure may be protected. Follow step 3 to unprotect the workbook.
  5. Exit and restart Excel. Close Excel completely (save your work first). Reopen the file. A temporary glitch in the display can cause gray areas.
  6. Check for Excel updates. Go to File > Account > Update Options > Update Now (Windows) or Help > Check for Updates (Mac). Install any available updates and restart Excel.
  7. Open the file in Excel for the web. Upload the file to OneDrive or SharePoint and open it in the browser. If it looks normal there, the issue is with your desktop Excel installation.
  8. Repair Office. On Windows, go to Settings > Apps > Installed apps, find Microsoft 365 or Office, select Modify, then choose Quick Repair. If that doesn't help, run Online Repair. On Mac, reinstall Office from the Microsoft website.
  9. Create a new workbook and copy the data. If the gray persists only in one file, the file may be corrupted. Open a new blank workbook, then copy the data from the affected sheet (select all, copy, paste values) into the new file. Save with a new name.

Note: Menu labels can differ slightly by Excel version, device, and region. The steps above are for Excel desktop on Windows and Mac; Excel for the web has similar options under the Review tab.

Common Mistakes

  • Assuming the file is corrupted when it's just protected. Always check the Review tab first.
  • Forgetting the password. If you protected the sheet and forgot the password, there is no built-in recovery. You may need to recreate the sheet or use a backup.
  • Clicking "Unprotect" without saving a copy. Always save a backup before removing protection, in case you need to restore it.
  • Ignoring Excel updates. Many display glitches are fixed in updates.
  • Using "Repair" on a file that is open elsewhere. Close the file on all devices before repairing.

Tips

  • Use "Protect Sheet" only when you need to lock cells; otherwise leave it off to avoid confusion.
  • Keep a list of passwords for protected sheets in a secure place.
  • If you frequently share workbooks, consider using "Protect Workbook" with a password to prevent structure changes.
  • Test the file in Excel for the web to quickly determine if the problem is local.
  • When copying data to a new workbook, use Paste Special > Values to avoid carrying over formatting or protection.

Troubleshooting

If the steps above did not fix the gray spreadsheet, try these:

  • You don't have the password: If the sheet is protected and you don't know the password, you cannot unprotect it. You can try opening the file in Excel for the web—sometimes protection is not enforced there, but this is not guaranteed. Otherwise, you'll need to recreate the sheet or restore from a backup that isn't protected.
  • Gray area only in part of the sheet: This could be a print area or hidden rows/columns. Check the View tab and ensure "Normal" is selected under Workbook Views. Also check for hidden rows/columns by selecting all and using Format > Hide & Unhide.
  • Excel opens but everything is gray and unresponsive: This may be a graphics driver issue. Update your graphics driver, or try disabling hardware graphics acceleration in Excel Options > Advanced > Display.
  • File opens gray in Excel for the web: The file may be corrupted. Try downloading it and opening in desktop Excel, or restore a previous version from OneDrive version history.
  • Still stuck: Create a new user profile in Windows or a new user account on Mac, and test Excel there. If it works, your original profile may be corrupted.

Frequently Asked Questions

Why did my Excel spreadsheet suddenly turn gray?

The most common reasons are sheet protection, workbook protection, a lost window focus, or a temporary display glitch. Check the Review tab for protection options first.

How do I remove gray from an Excel sheet without a password?

If the sheet is protected and you don't have the password, you cannot remove protection through normal means. You can try opening the file in Excel for the web, but if that fails, you'll need to recreate the sheet or use a backup.

Can I recover a protected Excel file if I forgot the password?

No, Excel does not provide a password recovery feature. You will need to restore from a backup or recreate the content.

Why is only part of my spreadsheet gray?

This could be due to hidden rows/columns, a print area, or cells with gray fill color. Check the View tab and ensure "Normal" view is selected, and inspect cell formatting.

Does Excel for the web handle protection differently?

Excel for the web may not enforce all protection features, but it is not a reliable workaround. Always use desktop Excel for full protection management.

How do I prevent my spreadsheet from turning gray again?

Avoid unnecessary sheet protection, keep Excel updated, and save backups before applying protection. If you share files, communicate passwords securely.