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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bill PrewIT / Software Engineering ConsultantCommented:
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
Bill PrewIT / Software Engineering ConsultantCommented:
Are you running Windows 10, or something earlier?


»bp
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

JJENSEN3Author Commented:
Windows 10 - Office 2007
0
Bill PrewIT / Software Engineering ConsultantCommented:
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:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Zeth LarssonCommented:
Thanks  JJENSEN3
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.