+ Reply to Thread
Results 1 to 6 of 6

mousing over a cell to see contents from another sheet

  1. #1
    Registered User
    Join Date
    07-26-2017
    Location
    USA
    MS-Off Ver
    10
    Posts
    3

    Cool mousing over a cell to see contents from another sheet

    I have two excel sheets/tabs. One is labeled "names" and contains a list of names, the other is labeled "details" and has the same list of names (in a different order), as well as an age and color in the same row as the name.
    Is there a way that I can write a comment or hyperlink (or any other type) code that will work such that, if I scroll over or click (for example) the name "Samantha" in the names sheet, the code will extrapolate from the details sheet and display the information in the same row as the name "Samantha", such as "29, Purple", without redirecting to any other cell.
    Thanks!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: mousing over a cell to see contents from another sheet

    You could easily do that with a userform.

    Ok

    Right Click on the sheet name "Names" at the bottom of excel and select view code

    Paste ths code into the module that opens and close it.

    Please Login or Register  to view this content.
    Then select the developer tan and then visual basic

    Select view and then project explorer

    Select your project and then click on Insert and then userform

    Insert four text boxes in the user form

    Then double click on the userform.

    Paste this code into the module that opens and close it

    Close Visual basic.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mehmetcik; 07-26-2017 at 07:35 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    07-26-2017
    Location
    USA
    MS-Off Ver
    10
    Posts
    3
    Quote Originally Posted by mehmetcik View Post
    You could easily do that with a userform.
    Could you possibly explain this more in depth?
    Thanks!

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: mousing over a cell to see contents from another sheet

    On Second thoughts a simple message box would do.


    Right Click on the sheet name "Names" at the bottom of excel and select view code

    Paste ths code into the module that opens and close it.


    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-26-2017
    Location
    USA
    MS-Off Ver
    10
    Posts
    3

    Re: mousing over a cell to see contents from another sheet

    Thank you so much! I just have one more question,
    A new spread sheet I have has multiple columns in the names section labeled

    mother, father, name, sister,

    the second sheet is still the name, with one name corresponding to a color and birthday.
    However I also have a third sheet now called "sibling", that also has a color and a number.

    How can I edit the code so that if I click on a name in the row "name" it extrapolates from the "details" tab, and if I click on a name in the row "sister" it will extrapolate from the "sibling" tab and give me the information.

    Additionally, nothing should happen if I click the mother or father tab, as they have no corresponding cells in the other sheets.
    thank you so much!!

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: mousing over a cell to see contents from another sheet

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Function to copy cell contents from sheet 1 to sheet 2
    By cameron213 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2014, 08:13 PM
  2. Copy cell contents from one sheet to another sheet at a particular cell address
    By sfshah in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2013, 11:42 AM
  3. Replies: 1
    Last Post: 04-19-2013, 04:00 PM
  4. Mousing over a quick launch toolbar causes Macro to hang
    By jlax34 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2012, 03:11 PM
  5. mousing over data pts in xy plot
    By kuciauskas in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-23-2011, 06:42 AM
  6. copy sheet to new sheet, rename it, return cell contents
    By soldstatic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2009, 01:49 PM
  7. [SOLVED] Lookup cell contents in on sheet based on a formula in second sheet
    By Michael Wright via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2005, 12:06 PM

Tags for this Thread

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