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,
 

Some videos you may like

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Watch MrExcel Video

Forum statistics

Threads
1,122,371
Messages
5,595,782
Members
414,020
Latest member
Meghdad

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