+ Reply to Thread
Results 1 to 6 of 6

cell colour name or index number

Hybrid View

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    61

    cell colour name or index number

    Hi all,

    Is there is any way to find out colour index or name of particular cell.

    i used some strange colour and not able to get its color name or index code..
    I need info to hide rows based on that coloured cell rows..

  2. #2
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Re: cell colour name or index number

    this should be helpful?

    http://dmcritchie.mvps.org/excel/colors.htm

  3. #3
    Registered User
    Join Date
    06-13-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: cell colour name or index number

    Hi lifeseeker,

    not it will not help..i am using 2010 excel i used some strange colour from pallete and i am not able to identify the colour code...
    any macro stuff find exract the info

  4. #4
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: cell colour name or index number

    Put this function in a std module
    Function showColIndex(targetcell)
    showColIndex = targetcell.Interior.ColorIndex
    End Function
    and then reference the cell with this formula
    Formula: copy to clipboard
    =showColIndex(A1)

    Change A1 to suit

    P.S. you say you are using 2010 but your profile says 2007???
    Last edited by WasWodge; 07-05-2012 at 04:03 PM.
    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

  5. #5
    Registered User
    Join Date
    06-13-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: cell colour name or index number

    Thank you i got it.....

    sorry i recently upgraded to 2010 so forgot to update here... will do...

  6. #6
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: cell colour name or index number

    Your welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1