You need to make a color mapping and can use vlookup..
From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of siti Vi Sent: Dec/Fri/2011 10:45 To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ Excel - Cell color actions I have Color-Index-Number ( 1 to 56) for excel pallete What number for RED, what Number for Blue ? etc Please full fill the list (name of color) (attached) Based on you Color Naming, we 'll create a Custom function for you color color index color name, in english where is red, where is blue ? 1 where is yellow ? E.t.c. 2 please full fill D Column (D3:D58) = 56 color name 3 based on your color-maing in D column 4 we shall make a custom worksheet function for you 5 6 7 8 54 55 56 On Thu, Dec 29, 2011 at 12:58 PM, Kasireddy Amarender <kassi.re...@gmail.com> wrote: Hi Team, I would like to know the options/code for performing some actions based on the cell interior color. for example if cell A1 is of Green color I would like to print "Green Color" text in B1 if cell A1 is of Red color I would like to print "Red Color" text in B1 if cell A1 is of Yellow color I would like to print "Yellow Color" text in B1 Thank you in advance for the help. Thanks, Amar -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (934+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com