+ Reply to Thread
Results 1 to 4 of 4

Highlight a cell if another is selected

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    Bangkok, Thailand
    MS-Off Ver
    Excel 2003
    Posts
    10

    Highlight a cell if another is selected

    Hello,

    Is it possible to highlight all cells containing a certain value whenever a specific cell is selected ?
    (For example, all cells containing the name Smith turn yellow whenever I select A1 and revert to no highlight when I deselect it.)

    Thanks for any reply

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Highlight a cell if another is selected

    Yes. It could be done by Conditional format and small code fo selection change event
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-13-2009
    Location
    Bangkok, Thailand
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Highlight a cell if another is selected

    Quote Originally Posted by BMV View Post
    Yes. It could be done by Conditional format and small code fo selection change event
    Superb ! Thank you very much. Спасибо
    Last edited by Olopocram; 05-25-2020 at 05:29 AM.

  4. #4
    Registered User
    Join Date
    03-13-2009
    Location
    Bangkok, Thailand
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Highlight a cell if another is selected --> extra question

    Hello again,

    One more little question : what if Smith is only part of the cell content ("John Smith", "Smith & Co", "Smith & Wesson", "WH Smith"...) ?

    Thanks for any reply

+ 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. Highlight a cell if another is selected
    By Olopocram in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2020, 12:41 AM
  2. Highlight row and/or column when cell is selected
    By dgibney in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2017, 03:44 AM
  3. Highlight cell if row is selected?
    By SneakyPiglet in forum Excel General
    Replies: 1
    Last Post: 10-04-2013, 06:55 PM
  4. Highlight the range of selected cell
    By Motilulla in forum Excel General
    Replies: 6
    Last Post: 07-07-2013, 01:51 AM
  5. [SOLVED] Highlight row based on selected cell value
    By elevdown in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-11-2012, 11:28 AM
  6. Highlight the cell based on selected value
    By maximpinto in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-01-2009, 02:20 AM
  7. How to highlight the selected cell
    By jeffreykeefer in forum Excel General
    Replies: 2
    Last Post: 03-03-2008, 12:33 PM

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