+ Reply to Thread
Results 1 to 4 of 4

Change color when matching a value in the cell

  1. #1
    Registered User
    Join Date
    09-03-2006
    Posts
    4

    Change color when matching a value in the cell

    Hi All,


    When I enter a specificed string into any cell of certain column (ex:C column), I want to have the following format:

    1. Some cells that are the same row as that cell change to the specificed color
    2. The current date will display automatically on respective cell

    Thanks in advance,

    Sub

  2. #2
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667
    Place this code in the cells where you want a date:
    =IF(C3="Specified",NOW(),"")
    and click Format, Conditional formatting where the condition is
    Not equal to and =""
    Best regards,

    Ray

  3. #3
    Registered User
    Join Date
    09-03-2006
    Posts
    4

    Change color when matching a value in the cell

    Thanks for your answer. For your way, we can only create 3 optiones, so I want to build the code to do that.

    Thanks again,

    Sub

  4. #4
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    if you search this forum for condtional formating you will find that Bob Phillips has given some code on how to create in VBA conditional formatting with more than 3 criteria.

    regards,
    Simon

+ 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