Lighten cell .background with respect to other cell

osianap

New Member
Joined
Jun 13, 2010
Messages
5
How would you Excel gurus do this?

I set the background color of a cell to be of a certain color by using basic functionality in the "Home" tab.

I now want the cell adjacent to it to be 10% lighter, and the next cell along to be 20% lighter, etc.

So if the first cell is coloured a dark red, the rest of the cells progress through rose-pink to pale skin color until they fade out to white. If I set the first cell to a dark blue color, the rest will progress from navy, to sea-ish to sky blue.

I'm guessing you can't do this without some VBA scripting, but better still if you can.
If VBA is required, how would I code this?

Thanks,
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,213,531
Messages
6,114,167
Members
448,554
Latest member
Gleisner2

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