+ Reply to Thread
Results 1 to 3 of 3

How to automatically highlight cell in sheet 1 based on click in cell in sheet 2

  1. #1
    Registered User
    Join Date
    05-04-2018
    Location
    Mississauga, Canada
    MS-Off Ver
    2016
    Posts
    6

    How to automatically highlight cell in sheet 1 based on click in cell in sheet 2

    Hi, I have a problem. I'm actually not sure that it can be done in Excel (MS Office 2016) but I have a row of symbols on sheet 1 and a column of symbols on sheet 2. I'd like to format the workbook so that any time I click on a cell in the column on sheet 2, Excel automatically flips back to sheet 1 and highlights the cell with the corresponding value. Sort of like making "Search" function automatic: without copying the cell value from sheet 2, flipping back to sheet 1, going Ctrl+F and pasting the symbol in the search window.
    BTW, I meant to attach my Excel file but the "Attachments" button above doesn't seem to be doing anything...
    Attached Images Attached Images

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,685

    Re: How to automatically highlight cell in sheet 1 based on click in cell in sheet 2

    This could be achieved for instance with such a code for sheet 2 (right click on sheet2 tab, and select "display code", then paste the code, close VBA editor window and remember to save your workbook in macro enabled format (for instance xlsm).

    Please Login or Register  to view this content.
    see attached file
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    05-04-2018
    Location
    Mississauga, Canada
    MS-Off Ver
    2016
    Posts
    6

    Re: How to automatically highlight cell in sheet 1 based on click in cell in sheet 2

    Thanks a million - it works like a dream

+ 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] VBA to highlight row based on duplicate cell from another sheet
    By Axis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-08-2016, 08:33 AM
  2. Automatically Update Cell Entries Based on other Sheet
    By civram1982 in forum Excel General
    Replies: 3
    Last Post: 01-07-2016, 06:17 AM
  3. Automatically Hide Row based on Cell in another sheet
    By excel233 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-10-2015, 03:49 AM
  4. Replies: 7
    Last Post: 08-12-2013, 09:48 AM
  5. [SOLVED] VBA referring to a different sheet, automatically fill cell based on content of other cell
    By mweick in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 02-06-2013, 11:50 AM
  6. Macro to automatically update sheet name based on cell value
    By seanfoxen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2012, 05:17 PM
  7. automatically change cell value based on the value in other sheet.
    By star.dust9212 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 11-15-2011, 06:21 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