+ Reply to Thread
Results 1 to 6 of 6

Cell Highlight Selection

  1. #1
    Registered User
    Join Date
    09-12-2018
    Location
    Port of Spain, Trinidad
    MS-Off Ver
    Excel 16
    Posts
    53

    Cell Highlight Selection

    Is there a formula that can help me a get a cell highlighted based on simply selecting another cell?

    Example: If I select/click any cell in Row 10 I want cell A10 to be highlighted or If I am in Row 7 I want cell A7 to be highlighted.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Cell Highlight Selection

    There is nothing in the user interface that can indicated what cell is currently selected. Doing this would require VBA. This file will do what you want.

    Note: I moved the thread from Formulas and Functions since this requires VBA.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: Cell Highlight Selection

    Here is a VBA solution that when you double click in any cell, Range A of that row will highlight.
    Put this code in the Worksheet Before Double Click event.


    Open the VBE (Alt +F11)
    In the left window, select your worksheet
    In the left dropdown, select Worksheet
    Then paste the following.
    Save and Close the VBE


    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    09-12-2018
    Location
    Port of Spain, Trinidad
    MS-Off Ver
    Excel 16
    Posts
    53

    Re: Cell Highlight Selection

    Bloody awesome... thank u very much.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,862

    Re: Cell Highlight Selection

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Cell Highlight Selection

    Thanks for the rep!

+ 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. [SOLVED] Highlight particular rows based on cell selection
    By chickpeazy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-31-2017, 10:13 AM
  2. Highlight cell by selection of drop list
    By nikko50 in forum Excel General
    Replies: 7
    Last Post: 01-21-2014, 06:46 PM
  3. Replies: 1
    Last Post: 07-03-2013, 10:50 AM
  4. Cell selection highlight colour
    By Cookstein2 in forum Excel General
    Replies: 8
    Last Post: 02-12-2013, 03:55 PM
  5. [SOLVED] Highlight Row of Active Cell on Worksheet Selection Change
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-03-2012, 02:23 AM
  6. Highlight cell upon selection
    By m.cain in forum Excel General
    Replies: 2
    Last Post: 04-24-2012, 05:05 PM
  7. highlight selection cell that meets criteria and multiple cells if not
    By rona_ele in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2011, 09:17 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