VBA script to return colour of Cell

Nec87

Board Regular
Joined
Dec 17, 2007
Messages
174
Hi All,

Need help on a work project.

Sheet 1 ..
Clm A | Clm B
0001 | blue
0002 | yellow
0003 | red
(there is about 500 diff colours) - all different

Sheet 2 ..
Clm A | Clm B
0003 | red
0002 | yellow

I need to show the cell colour not the text - incase your unsure.

So in short,
Sheet one has a list of about 500 diff colours, the name in the A column and the cell colour in the B column.

On sheet two I want to be able to type a colour reference in the A column and the colour to appear in the B column.

Can anyone please help me with this as a I stuck!


Thank you,
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Just a quick update. Really hoping someone can help me with this?!

Thank you kindly
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,740
Members
452,940
Latest member
rootytrip

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