Color

one_more_cave_dweller

Board Regular
Joined
Sep 27, 2004
Messages
118
I would like to color the background of a sheet blue and have it print blank (white). Some fonts would be red and would need to be printed in red but I don't want the background color to print. Is this possible?

Thanks :pray:
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
You could record a macro setting your used range to no interior color-->Print-->then reset the interior color.

HTH,

Smitty

(But why a blue background to begin with?)
 
Upvote 0
Drawing from the post above you might try this macro.

Sub PrintWhiteBackground()
Application.ScreenUpdating = False
ActiveSheet.UsedRange.Interior.ColorIndex = 2
ActiveSheet.PrintOut
ActiveSheet.UsedRange.Interior.ColorIndex = 5
Range("A1").Select
Application.ScreenUpdating = True
End Sub

ColorIndex #5 is blue. Not sure if this is the blue you were talking about. You can change the color index from the colors available below.

http://www.mvps.org/dmcritchie/excel/colors.htm

Ken
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top