+ Reply to Thread
Results 1 to 3 of 3

Assistance needed with case statement changing cell and font colors

  1. #1
    Forum Contributor
    Join Date
    04-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    496

    Assistance needed with case statement changing cell and font colors

    Hello all

    I have the following Case statement that changes all the cells to the correct color, but does not change the Font color as specified in the Case. All the text is White (fcolor = 2) instead of just the 3 types of cells specified.

    Please Login or Register  to view this content.
    I tried commenting out part and all of the With block but that only changes the font to all black and/or removes the cell colors.

    Can someone please help with this code?

    Thanks in advance!!!
    Andrew
    Last edited by drewship; 09-25-2009 at 10:51 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Assistance needed with case statement changing cell and font colors

    You need to reset the value of fColor each time:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    04-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    496

    Re: Assistance needed with case statement changing cell and font colors

    Thanks romperstomper you are a genious!!!!

    That is the finishing touch so I will close the thread.

    Andrew

+ 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