How to Fix Excel Cell Fill Colors Disappearing When Sharing Files
Question details
Custom cell fill colors are lost when an Excel workbook is shared via email or uploaded to Google Drive, despite displaying correctly locally and in exported PDFs.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Sharing a formatted Excel (.xlsx) file with others via email or Google Drive for independent editing.
- Observed behavior
- Cell fill colors and custom formatting disappear when the recipient opens the file or when viewed in third-party platforms like Google Drive, breaking the original visual layout.
Check whether the recipient is opening the file in Microsoft Excel desktop, a web-based tool like Google Sheets, or a mobile previewer, as formatting compatibility varies significantly across different spreadsheet platforms.
Use Standard Fill Colors and Simplify Formatting
Web platforms like Google Drive and basic email previewers often fail to render custom theme colors or complex conditional formats. Reverting to standard color palettes improves cross-platform compatibility.
When an XLSX file is uploaded to Google Drive or opened in alternative spreadsheet software, it may be converted or rendered using a different engine. If your cell colors rely on software-specific conditional formatting rules or advanced custom themes, they are likely to be stripped out during this process to maintain basic data readability.
Open your workbook in desktop Excel and highlight the specific cells or ranges where the fill colors usually disappear.
Navigate to the 'Home' tab, click on 'Conditional Formatting', and select 'Clear Rules' from the selected cells to remove logic that might not be supported on the web.
Click the 'Fill Color' bucket icon in the Home ribbon and intentionally choose a color from the 'Standard Colors' section rather than a custom RGB theme, then save your file.

Share the Workbook via OneDrive Instead
Since OneDrive is natively integrated with the Microsoft Office ecosystem, it preserves custom cell fill colors and complex conditional formatting better than third-party cloud services.
Compress the File Before Emailing
Some aggressive email security filters and file previewers can strip metadata or corrupt formatting from raw Office attachments. Compressing the file preserves its integrity in transit.
Edit and Share Spreadsheets Seamlessly with WPS Office
If formatting compatibility between Microsoft Excel and third-party platforms continues to cause layout issues, consider switching to WPS Office. It provides robust, native compatibility with standard .xlsx files, ensuring your formatting remains intact exactly as designed.
- 1. Download the App: Visit the official WPS website and download the free WPS Office suite for your operating system.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open the affected .xlsx file. Apply your custom fill colors using the built-in formatting tools.
- 3. Save and Share Confidently: Save the file directly in standard .xlsx format. You can easily share it via email knowing the formatting engine is robust and cross-compatible.

Frequently Asked Questions
Why do my Excel cell colors disappear specifically in Google Drive?
Google Drive uses its own viewer and the Google Sheets engine, which handle custom themes and complex conditional formatting differently than Microsoft Excel. If your colors rely on Microsoft-specific properties, Google Sheets may drop them during the conversion process.
Does sending an Excel file via email actively change its formatting?
Emailing a file does not change the file's raw data, but problems occur when the recipient opens the attachment in a non-Excel program, or when an email client's built-in previewer strips formatting to load the document faster.
How can I freeze my Excel formatting so it never changes for viewers?
If the recipient only needs to view the data and doesn't need to edit the cells independently, the most reliable method is to export the document. Go to File > Save As and select PDF. A PDF acts like a digital printout and permanently locks in all colors and layouts.




