+ Reply to Thread
Results 1 to 3 of 3

Selecting rows based on text colour

  1. #1
    Registered User
    Join Date
    06-17-2010
    Location
    London,England
    MS-Off Ver
    Excel 2002 10.4
    Posts
    2

    Selecting rows based on text colour

    Hello, I am trying to select rows from a spreadsheet based on the text colour of one of the cells in that row. Alternatively if I could sort the rows based on this criteria then that would also solve my problem. I am using quite an old version of Excel (2002) hence I can't find any predefined functions to do this. Is it necessary to write a Visual Basic macro to do this?

    Any suggestions much appreciated

    thanks

  2. #2
    Forum Contributor
    Join Date
    04-07-2009
    Location
    Rowley
    MS-Off Ver
    Excel 2007
    Posts
    326

    Re: Selecting rows based on text colour

    If the cell is colored using Conditional Formatting, then use the same criteria as the Conditional Formatting.

    For VBA solutions see here:

    http://www.cpearson.com/excel/colors.aspx

    Look at the two functions:

    ColorIndexOfOneCell and ColorIndexOfRange

  3. #3
    Registered User
    Join Date
    06-17-2010
    Location
    London,England
    MS-Off Ver
    Excel 2002 10.4
    Posts
    2

    Re: Selecting rows based on text colour

    Thank you very much for the tip

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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