Changing Excel 2007 Cell Background Color Automatically

Is there a way in Excel 2007, to change the white background of all the cells to a custom color, automatically, every time a new sheet/workbook is opened?
JJENSEN3Asked:
Who is Participating?
 
Zeth LarssonCommented:
It may be possible to achieve as you wish, for a specific template workbook or ordinary workbook file.
Then, in the workbook procedure "Private Sub Workbook_Open()" and "Private Sub Workbook_NewSheet(ByVal Sh As Object)" it can be possible to color all cells in all worksheets to a certain background color.
And in procedure  "Private Sub Workbook_BeforePrint(Cancel As Boolean)" remove all background colors from all selected worksheets.

It do not override conditional formatting of background color.

But there are a number of other drawbacks with this, some of them are this.
Every user must have its own unique template, unless some rule can be specified.
Unless cell framaes are also formatted and colored in some contrasting color, they will be invisible.
If cell frames are formatted as described above, it will destroy any previous format of the cells.
0
 
Bill PrewCommented:
Do you want that to just be for on screen viewing, or actually a fill color for the entire sheet that gets saved with it, and would print as a background color also?


»bp
0
 
JJENSEN3Author Commented:
For viewing only.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
Bill PrewCommented:
Are you running Windows 10, or something earlier?


»bp
0
 
JJENSEN3Author Commented:
Windows 10 - Office 2007
0
 
Bill PrewCommented:
No easy way there then.  The issue is that Excel doesn't let you change that, it wants to be a good citizen and inherit the UI color scheme from Windows, as it should be.  But in Windows 10 Microsoft took away the ability to easily customize the colors of the default scheme, and change things like the background colors of normal windows, etc.  In older versions you had more control over that.

That being said, it would have affected all of windows, not just Excel, and that might not be desirable for your needs anyway.

We'll see what others say, but it sounds like you don't want to just have a fill applied to the sheet, since that will be stored as the background color of the sheet, and print with it, etc.  You just want to change the viewing color, and I don't think there is any user way to do that.


»bp
0
 
Zeth LarssonCommented:
Thanks  JJENSEN3
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.