logo
search
Formatting Issues

Fix Excel for the Web Showing Inverted Colors in SharePoint

Kushani NimanthikaKushani Nimanthika Oct 20, 2026 868 views

Question details

A specific Excel workbook stored in SharePoint displays inverted colors when opened via Excel for the Web, but looks normal in the desktop app.

How to Fix Excel for the Web Showing Inverted Colors in SharePoint Files
Product
Excel for the Web, SharePoint
Device & OS
not provided
Scenario
Opening a SharePoint-hosted Excel file in a web browser for online viewing or editing.
Observed behavior
The file displays with a black background, white or gray text, and missing gridlines, unlike other files in the same folder which display normally.
Before you start

Before troubleshooting the workbook, verify if your web browser is currently using a forced 'Dark Mode' extension or high-contrast theme, as these can sometimes forcibly invert colors on specific web pages.

Solution 1Recommended

Create a Sanitized Copy for Testing and Support

Create a copy of the affected file without sensitive data to test if the issue persists in a fresh file, or to share with support teams for further investigation.

Often, display anomalies in a single web-hosted file are caused by hidden background formatting or localized corruption. By stripping sensitive data and saving a fresh copy, you can both test the rendering and safely share the file with technical support if needed.

1
Open in Desktop App

Open the affected file from SharePoint using the Excel desktop application, where it currently displays normally.

2
Remove Sensitive Data

Delete any confidential or proprietary data, leaving only the structural formatting and a few dummy data points.

3
Save as a New File

Use 'Save As' to create a new copy of the workbook and upload it back to your SharePoint folder.

4
Test in Web Browser

Open the newly uploaded sanitized file in Excel for the Web. If the colors are still inverted, share this sanitized file link via OneDrive or Dropbox with your IT support team.

Create a Sanitized Copy for Testing and Support
Sharing with Support: Never share links to files containing real user data, financial records, or internal company information on public support forums.
Free Microsoft Office alternative

Edit Spreadsheets Seamlessly with WPS Office

If Excel for the Web continues to have display rendering issues with your SharePoint files, consider using WPS Office. It provides a stable, highly compatible spreadsheet editor ensuring your formatting stays exactly as intended without browser glitches.

  1. 1. Download WPS Office: Visit the official WPS website and download the free desktop application for your operating system.
  2. 2. Install the Software: Run the downloaded installer and launch WPS Spreadsheets.
  3. 3. Open your File: Open your existing .xlsx file directly in WPS Office to view and edit without background color inversion issues.
Highly compatible with Microsoft Excel (.xlsx, .xls) files, preserving all original formatting.Free, lightweight, and fast-loading desktop application.Built-in cloud support for easy online document collaboration without web display glitches.Familiar ribbon user interface makes switching completely effortless.
microsoft office alternative - wps office

Frequently Asked Questions

Why does only one Excel file show inverted colors in SharePoint?

This usually happens due to specific cell formatting, a custom workbook theme applied to that file, or a glitch in how the browser caches that specific file's web rendering data.

Does Excel for the Web have a built-in Dark Mode?

No, Excel for the Web does not currently support a native dark mode for the spreadsheet canvas. If your canvas is black, it is likely caused by a browser extension, OS-level high contrast settings, or file corruption.

How can I restore missing gridlines in Excel for the Web?

Go to the View tab in the Excel for the Web ribbon and ensure the 'Gridlines' box is checked. If they are still missing, check if the cells accidentally have a solid white fill color applied.

Can opening the file in the desktop app fix web display issues?

Yes, opening the file in the desktop application allows you to clear custom themes or fill colors that might be causing the web renderer to fail, then you can save it back to SharePoint.