Formatting Issues

How to Keep Gridlines Visible When Coloring Cells in WPS Office Excel

Anum MushtaqAnum Mushtaq Nov 13, 2026 869 views

Question details

The user wants to understand why Excel gridlines disappear when cells are filled with color and how to keep visible cell boundaries after applying fill color.

How to Keep Gridlines Visible When Coloring Cells in WPS Office Excel
Product
WPS Office Excel
Device & OS
not provided
Scenario
The user is coloring worksheet cells and wants the default gridlines or clear cell boundaries to remain visible after applying fill color.
Observed behavior
Default gridlines are not shown across cells that have a fill color, making the cell boundaries difficult to see.
Before you start

Open the workbook in WPS Office Excel and verify that gridlines are visible on the uncolored worksheet. If gridlines are hidden, go to the View tab and enable Gridlines before adding fill color.

Solution 1Recommended

Apply Borders to Colored Cells to Keep Boundaries Visible

Use this solution when you have already colored cells or need a quick way to restore visible cell boundaries.

In WPS Office Excel, fill color covers the default gridline display. Adding an explicit border places a line on top of the fill, so the colored area still shows clear cell edges.

1
Select the colored cells

Select the cell or range where you applied fill color and need visible boundaries.

2
Open the Borders menu

On the Home tab, click the Borders drop-down arrow in the Font group.

3
Apply a border style

Choose All Borders for a standard grid, or click More Borders to select outline and inside border styles.

4
Confirm the result

Click OK if you used More Borders, then verify that the colored cells now display visible boundaries.

Borders stay visible: Cell borders remain visible over any fill color and will also print in the final worksheet.
Direct solution in WPS Office Excel

Keep Cell Borders Visible When Coloring Cells in WPS Office Excel

WPS Office Excel lets you apply fill colors and borders directly, so you can keep gridlines visible over colored cells without extra paid tools. Open your workbook in WPS Office Excel and use the built-in border or cell style tools to preserve clear boundaries.

  1. 1. Download WPS Office: Go to the WPS Office official website and download the free installer for your device.
  2. 2. Install and launch: Install WPS Office, open it, and sign in or continue with the free version.
  3. 3. Open your workbook: Click Open, locate your Excel workbook, and open it in WPS Office Excel.
  4. 4. Apply borders to colored cells: Select the colored cells, go to Home > Borders, and choose All Borders or More Borders.
  5. 5. Save the file: Save the workbook in WPS Office or export it as an Excel .xlsx file to keep the formatting.
Quickly add borders over colored cells to keep gridlines and boundaries visibleFull compatibility with Microsoft Excel .xlsx workbooks and formattingFree, lightweight Office suite with a familiar Excel-style interfaceCustom cell styles save fill and border settings for consistent formatting
microsoft office alternative - wps office

Frequently Asked Questions

Why do gridlines disappear when I fill a cell with color in Excel?

In WPS Office Excel and Microsoft Excel, cell fill color is drawn over the worksheet gridlines because gridlines are a background display. To keep cell boundaries visible, select the colored cells and apply borders from Home > Borders.

Can I keep gridlines visible over colored cells without adding borders?

No, fill color hides the default gridlines in the colored area. You can use a custom cell style that includes both fill color and border formatting, so boundaries remain visible without manually drawing borders each time.

How do I apply borders to many colored cells at once?

Select the entire colored range first, then click Home > Borders > All Borders. For more control, choose More Borders and set outline and inside lines in the Format Cells dialog.

Does adding borders change the print layout in WPS Office Excel?

Yes. Borders placed over colored cells are printable, so the colored area keeps visible boundaries on paper. Go to File > Print to preview the result before printing.

Is WPS Office Excel compatible with my existing Excel files?

Yes. WPS Office Excel opens and saves Microsoft Excel .xlsx files, including cell styles, fills, and borders, so you can keep working with the same workbook formatting.