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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,222,405
Messages
6,165,864
Members
451,988
Latest member
boo203

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