Shade a cell but not print that color?

Copper Contributor

Is there a way I can shade a cell, but keep that cell from being shaded when I print the sheet? For example, I want someone to enter data only in the cells I've shaded yellow, but I want the finished print to not have yellow, shaded cells.

14 Replies

Hi @Joel Lee,


Go to Page Setup -> Sheet Tab -> Enable Checkbox Black and White



Thank you Logaraj for the helpful suggestion! This is a fantastic work-around. But unless there is another solution, I presume that I can't BOTH hide the one shaded color but otherwise print my sheet in color.

Hi Joel,


I guess in general that's possible using VBA script if in Workbook_BeforePrint event remove the color from the range and in Worbook_AfterPrint return the color back.


Somethig like that, but this is just an idea.

Joel, try using conditional formatting (Home, Styles, Conditional Formatting). Select the cells you want to be highlighted yellow and click Conditional Formatting, New Rule. Under Rule Type select "Format only cells that contain" and choose Cell Value (1st drop down), equal to (2nd drop down), and type 0 in the 3rd box. Then click Format and under the Fill Tab choose the color you want the empty cells to be highlighted (in your case, yellow). Click OK and OK again in the initial rule window. This allows you to highlight cells that don't have information and send a digital file to be filled out. Once the person fills in the required cells, the yellow highlight is removed and can be printed. Good luck!

This is the solution.


I've been looking for a solution to this issue forever so thank you for this info!  Follow up question... what about a cell where the value that needs to be entered is $0.00?  It seems if that's the case, the cell just remains highlighted no matter what.  Please help if you can.  Thank you!

I would try changing the conditional formatting to Rule Type “Format only cells that contain” then change the first drop down under Rule Description from “cell value” to “blanks”. That way any data entered would trigger the highlighted cell to turn white once filled. Hope this helps!
I will try that. Thank you!

@Amber-Lee  Dood... This has been sooo helpful. Thank you.  Now, considering I am using this for a field form, there are fields that are shaded until filled in; however, I will have many fields that do not get filled in.  Is there a way to create a conditional format for fields that are not filled in (e.g., won't change the field from shaded to blank), but I still want all shading to go away upon printing/saving.  


It would be acceptable if the shading did not go away when saved as an xlsm extension, but when later saved to pdf.  Is that possible?


So happy for solutions. Thanks.


@Pledesma012 You could use Conditional Formatting to accomplish that.


1. click on New Rule

2. Rule Type Format only cells that contain

3. Format only cells with set to Specific Text and use N/A

4. Click on Format, Then Font Tab and set color to White




1. click on New Rule

2. Rule Type Use a formula to determine which cells to format

3. Enter formula =EXACT( "NA", A1 ) or =EXACT( "N/A", A1 )

4. Click on Format, Then Font Tab and set color to White

@Logaraj Sekar 

This is so helpful, thanks so much!

@morkimb Instead of using Cell Value equal to Zero, you can use BLANKS and highlight the cells.  works well too


@MT_Evans yep! Noted that in my response to @Amber-Lee on 1/23/20. Missed it the first time haha! Glad this is still helpful.

Is there any other method?

actually i don't want to print cell color for some range only.

Thanks in advance

@Logaraj Sekar