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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
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?)
 

Cloverken

Active Member
Joined
Feb 18, 2002
Messages
271
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
 

Forum statistics

Threads
1,148,051
Messages
5,744,520
Members
423,881
Latest member
Nguyen Vu

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
Top