+ Reply to Thread
Results 1 to 3 of 3

Change back colour of a cell when its content matches content in another sheet

  1. #1
    Registered User
    Join Date
    12-06-2006
    Posts
    3

    Change back colour of a cell when its content matches content in another sheet

    As the user types text into a cell I want a search to be made on another sheet (or even on a different part of the same sheet if this is more efficient). If matching text is found I want the first cell's back colour to change.

    I'm new to Excel VBA and macros but have done some VB programming in the past.

    What is the best way to approach doing this, please?

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Change back colour of a cell when its content matches content in another sheet

    There is not so much information but Conditional Formatting should solve your issue.
    Check yellow banner at the top of page. If you attach sample file it really help us to help you.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Change back colour of a cell when its content matches content in another sheet

    I agree with @KOKOESK that Conditional Formatting is the way to solve this.

    However, the cell will not change colour as you type - only after the user has hit the return key.

+ 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. VBA Change colour of row if content in column matches array in another sheet
    By Declamatory in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2015, 06:02 AM
  2. Change content of one cell based on content of another
    By stlellen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2014, 03:26 PM
  3. Replies: 4
    Last Post: 09-13-2010, 11:54 AM
  4. Random colour change on cell content input
    By JamesT1 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-13-2010, 08:23 PM
  5. Excel VBA Change text colour depending on another cell's content
    By jell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-15-2010, 11:05 AM
  6. Change the Back Ground Color on basis of content of cell in a range
    By ravinder_tigh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-01-2009, 11:36 PM
  7. Change colour of cell depending on content
    By blain in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-17-2006, 08:47 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