logo
search
Formatting Issues

How to Remove Gray Squares and Areas in Excel

Maira MehtabMaira Mehtab Sep 22, 2026 868 views

Question details

The user needs to remove unexpected gray squares or shaded areas that appear in an Excel worksheet.

Product
Excel
Device & OS
not provided
Scenario
Viewing or editing a spreadsheet file
Observed behavior
Gray squares or areas are displayed across the worksheet even though the cells have not been manually shaded by the user.
Before you start

Verify whether the gray areas appear across the entire document or only outside of your specific data range, as this often indicates a view setting rather than actual cell formatting.

Solution 1Recommended

Switch from Page Break Preview to Normal View

The most common reason for gray areas in a worksheet is that Excel is set to Page Break Preview, which shades all non-printing areas in gray.

Page Break Preview is a helpful viewing mode designed to show you exactly what data will be printed. To help you distinguish the print area, Excel automatically darkens all empty or out-of-bounds cells with a gray background.

1
Navigate to the View tab

Look at the top ribbon of your Excel workbook and click on the 'View' tab.

2
Select Normal View

In the 'Workbook Views' group on the far left, click on 'Normal'. This will immediately return your worksheet to the standard view and remove the gray areas.

Quick Shortcut: You can also quickly toggle to Normal view by clicking the grid icon at the bottom right corner of the Excel window, just to the left of the zoom slider.

Easily Manage Worksheet Views in WPS Spreadsheet

WPS Spreadsheet provides a clean, intuitive interface to manage page breaks and workbook views, ensuring your worksheets display exactly how you want without unexpected visual glitches or gray areas.

  1. 1. Open your file in WPS Office: Launch the WPS Office application and open your affected spreadsheet file.
  2. 2. Access the View settings: Navigate to the 'View' tab located on the top ribbon.
  3. 3. Change to Normal View: Click on the 'Normal' icon in the upper left corner to disable the page break view and remove the gray shading.
Effortlessly toggle out of Page Break Preview to instantly remove gray background areasHighly compatible with all Microsoft Excel formats including .xlsx and .xlsQuickly clear complex conditional formatting rules with a single clickLightweight, fast, and completely free to use for everyday office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel sheet have a gray background outside the active print area?

This is a built-in feature of the Page Break Preview mode. It highlights your designated print area in white and shades all inactive or out-of-bounds cells in gray so you can easily identify what will be excluded when printing.

Can frozen panes cause a gray line or shaded area in Excel?

Yes, depending on your display settings or themes, frozen panes can sometimes create a thick gray line or visual artifact. You can fix this by going to the View tab and selecting 'Unfreeze Panes' to see if the gray area disappears.

What if the gray areas remain after switching to Normal view and clearing formats?

If the gray areas persist, it could be a display cache issue or related to your Windows theme settings. Try saving your work, restarting the application, or checking if the cells have an actual gray 'Fill Color' applied from the Home tab.

Does WPS Office use the same gray shading for Page Break Previews?

Yes, WPS Spreadsheet also utilizes gray shading in Page Break Preview to clearly distinguish non-printing areas from your active data. You can easily switch back to Normal view under the View tab to remove the shading.