+ Reply to Thread
Results 1 to 5 of 5

Text color detect from Conditional Formatting?

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Text color detect from Conditional Formatting?

    Special thanks to Brian Hessey (Modified his code)


    Please Login or Register  to view this content.
    How can this code detect text color that is set with "Conditional Formatting", it seems Conditional Formatting can set text color with out an actual value to compare to!?
    It works fine on cells with manually set text color.
    Regards

    Rick
    Win10, Office 365

  2. #2
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163
    Please Login or Register  to view this content.
    This colors all cells in a selection. I guess I am reading the Conditional Format settings and not the actual condition?

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Try


    Please Login or Register  to view this content.
    Last edited by royUK; 05-25-2007 at 02:52 AM.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163
    Your snippet only changed the Text color and only for a single selected cell. Multiple selected cells, just like my code, do nothing?

    I think I will need to do this without Conditional Formatting and just use VBA code.

    Thanks for the help tho!

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    If you select one cell it will work on one cell, if you select multiple cells it works on all the selection. Tested in 2000 and 2003

+ 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