+ Reply to Thread
Results 1 to 8 of 8

Vba if cell color red than cell font color white

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Lithuania Kaunas
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    98

    Question Vba if cell color red than cell font color white

    hi mi friends i need some help i have file whit 2 column
    COLUMN B data whit color parallel column A cell need change font to white color

    Untitled.jpg
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Vba if cell color red than cell font color white

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Vba if cell color red than cell font color white

    Please Login or Register  to view this content.
    If you are happy with my response please click the * in the lower left of my post.

  4. #4
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Vba if cell color red than cell font color white

    Or you might prefer conditional formatting

    in conditional formatting for column A

    Please Login or Register  to view this content.
    and set the font to white

    and the vba to make it work

    Please Login or Register  to view this content.
    Last edited by scottiex; 02-09-2016 at 08:55 PM. Reason: woops A not B

  5. #5
    Registered User
    Join Date
    06-18-2013
    Location
    Lithuania Kaunas
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    98

    Re: Vba if cell color red than cell font color white

    you evrybody best guys
    but whit conditional formating dont works for me can you insert file whit example

  6. #6
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Vba if cell color red than cell font color white

    OK here you go

    just a min
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Vba if cell color red than cell font color white

    I sent the xlsx file. *facepalm*
    here is the xlsm that will actually work.

    Book12.xlsm
    Last edited by scottiex; 02-10-2016 at 08:02 PM.

  8. #8
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Vba if cell color red than cell font color white

    Come to think of it - maybe what you are noticing (in terms of it not working is related to this one being non volitile
    you might want to make it volatile so it updates the formula. (amended in the file above)

    Please Login or Register  to view this content.
    Last edited by scottiex; 02-10-2016 at 08:04 PM.

+ 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. Mouse rolls over to cell will change the tab color, font color and tp bold type
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-20-2013, 10:36 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. [SOLVED] For all cells with font size bigger than 9, make that cell bold and color white
    By jasondu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2012, 02:18 PM
  5. Sorting by Cell Color, Font Color or Cell Icon in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-19-2007, 12:23 PM
  6. Replies: 3
    Last Post: 11-02-2005, 07:55 PM
  7. Replies: 1
    Last Post: 10-28-2005, 12:05 PM
  8. Fill Color and Font Color stay Black and White
    By Hors Categorie in forum Excel General
    Replies: 1
    Last Post: 05-10-2005, 07:20 PM

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