cell colour

capsican

New Member
Joined
Oct 13, 2004
Messages
10
I have a spreadsheet that has peoples names against a row each person has a different colour. what i would like to do is have it setup so that when a row of cells is pick next to the name it auto puts the persons colour in the cells.

I can send the spreadsheet to you if it makes it easier.

thanks heaps
Cathy
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Welcome to the Board!

What version of Excel are you using? If it's 2007 you have pretty much unlimited options with Conditional Formatting. Otherwise you'll be stuck with 3 options, but you can use VBA as a workaround (but you need to give more details for that).

Take a look at the link beneath my sig for how to post a shot of your sheet. ;)

HTH,
 
Upvote 0
Let us suppose that names are in column A
Rich (BB code):
Rich (BB code):
Rich (BB code):
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Private Sub Worksheet_Change(ByVal Target As Range)<o:p></o:p>
    Sheet1.Cells(Target.row, Target.Column).Interior.Color = Sheet1.Cells(Target.row, 1).Interior.Color<o:p></o:p>
End Sub
 
Upvote 0

Forum statistics

Threads
1,202,987
Messages
6,052,932
Members
444,616
Latest member
novit19089

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