+ Reply to Thread
Results 1 to 5 of 5

if cell in row has color then return text

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    IE, California
    MS-Off Ver
    excel 2010 and 2013
    Posts
    15

    if cell in row has color then return text

    Hi all

    I have a userform that people input their specs

    if it is out of spec that specific cell turns red

    all new inputs are place in the next blank row


    I was looking for some help to be able to get a FAIL or PASS depending if there is a red cell in a row or not

    G through Z are where the specs are placed and AA is where the PASS or FAIL needs to be placed

  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: if cell in row has color then return text

    Untested, try on a copy first.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    IE, California
    MS-Off Ver
    excel 2010 and 2013
    Posts
    15

    Re: if cell in row has color then return text

    Thank you

    but I seem to be having another problem now. Not sure what I did.

    so now it's giving me an error here is the code for the color change I have

    if I have the code just for q1m1 it works but if I place it on q1m2 as well it gives me an error


    I am getting an error in the bold
    Please Login or Register  to view this content.
    Last edited by TJ_IE; 10-03-2014 at 11:59 AM.

  4. #4
    Registered User
    Join Date
    09-30-2014
    Location
    IE, California
    MS-Off Ver
    excel 2010 and 2013
    Posts
    15

    Re: if cell in row has color then return text

    heeey it worked!

    I messed around with the code a bit

    placed the code that you provided and it worked like a charm


    THANK YOU John!

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

    Re: if cell in row has color then return text

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. Macro to change cell text color based on darkness of cell fill color
    By cincyshirm61 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2014, 12:11 PM
  2. Replies: 4
    Last Post: 12-29-2013, 11:41 PM
  3. Excel 2007 : Formula return Text Color
    By wacraig21 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2013, 07:07 AM
  4. Replies: 0
    Last Post: 09-26-2012, 01:08 PM
  5. change text color based on adjacent cell text color
    By matthewst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-01-2005, 03:49 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