+ Reply to Thread
Results 1 to 6 of 6

Font Color change based on Cell Interior.ColorIndex changes

  1. #1
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Font Color change based on Cell Interior.ColorIndex changes

    Hi Folks
    I have this code that I am working on and I want to change the Font color in the cell to white if the Interior.ColorIndex has changed from white

    Please Login or Register  to view this content.
    Best Regards,

    John
    Last edited by JJFletcher; 08-20-2017 at 02:08 PM.

  2. #2
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Font Color change based on Cell Interior.ColorIndex changes

    Maybe
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: Font Color change based on Cell Interior.ColorIndex changes

    Hi Root - This code works great - One additional question - Oversight by me !

    When the cell changes to Range("C" & Selection.Row).Interior.ColorIndex = 20 the color is very light blue and the white font color is not seen - can the font for that cell coler be made black?

    Best Regards,


    John

  4. #4
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Font Color change based on Cell Interior.ColorIndex changes

    You are most welcome.

    Here is a modified code:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: Font Color change based on Cell Interior.ColorIndex changes

    Root -

    Absolutely outstanding... Works perfect! Awesome is the word of the day for you my friend!

    Best Regards,

    John

  6. #6
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Font Color change based on Cell Interior.ColorIndex changes

    Glad to have helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change cell format (cell color+font color) based on color of another cell
    By Dedaluss in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2017, 03:27 AM
  2. Change Font Color Based On Adjacent Cell Color
    By Zorro9758 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2013, 02:47 PM
  3. Change font color based on font color of another cell
    By Ibyers in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2012, 09:36 AM
  4. "If" and Syntax to change font and fill (interior) color based on cell value
    By jdfjab in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2012, 10:29 AM
  5. Change cell's interior color and font
    By tim5 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-22-2011, 06:21 AM
  6. Change Font Color Based on Another Cell
    By k777 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-22-2010, 08:41 PM
  7. change font color based on cell value
    By herukuncahyono in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2010, 03:34 AM

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