+ Reply to Thread
Results 1 to 9 of 9

Link Comment to Adjacent Cell

  1. #1
    Registered User
    Join Date
    08-14-2014
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    74

    Link Comment to Adjacent Cell

    Hi there,
    I have a load of names alongside the corresponding initials on a spreadsheet but I want to hide the names.
    I was wondering if I could hide the names but have the full name in the comment of the adjacent initial cell so if I hover over the initial it shows the full name.
    Does that make any sense?!
    I have attached an example sheet and have manually entered the comments for the 3 cells in yellow to show you what I'm after.
    Thanks
    Sam
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Link Comment to Adjacent Cell

    This assumes that the names are one cell to the right of the initials:

    Please Login or Register  to view this content.
    Last edited by cyiangou; 08-06-2015 at 10:06 AM.

  3. #3
    Registered User
    Join Date
    08-14-2014
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    74

    Re: Link Comment to Adjacent Cell

    thank you very much cyiangou. That does work. Is there any way it can be live so if the name changes so does the comment or if the name is deleted the comment is deleted too?

  4. #4
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Link Comment to Adjacent Cell

    You'll need to configure this as you want it. It currently simply checks that row 1 of the column being edited has a header that begins with "Comment". You can change this and/or do other validation checks.

    Please Login or Register  to view this content.
    link_comment_cy.xlsm
    Last edited by cyiangou; 08-06-2015 at 10:55 AM.

  5. #5
    Registered User
    Join Date
    08-14-2014
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    74

    Re: Link Comment to Adjacent Cell

    Thanks cyiangou, I can't get this to work though? Can you please attach it?

  6. #6
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Link Comment to Adjacent Cell

    I did. The link is below the code. Remember to enable macros.

  7. #7
    Registered User
    Join Date
    08-14-2014
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    74

    Re: Link Comment to Adjacent Cell

    Oh yeah, that looks perfect thank you, except I can't see how to extend it for the rest of the column? Is there an easy way to get it down to row 150 for example?

  8. #8
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Link Comment to Adjacent Cell

    It should work anywhere, as long as you're not in column A, and as long as the column that you're editing has a header in row 1 that begins with "Comment".

  9. #9
    Registered User
    Join Date
    08-14-2014
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    74

    Re: Link Comment to Adjacent Cell

    Thanks very much. Perfect

+ 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. Link between a cell and a comment in diferent worksheets
    By CH81 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2015, 10:45 AM
  2. [SOLVED] Add Comment Based on adjacent cell value (vlookup?)
    By astinn in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-11-2015, 08:45 PM
  3. Link comment to cell content
    By rafuk73 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2012, 04:59 AM
  4. How to link a comment to a cell in a Pivot table
    By do585 in forum Excel General
    Replies: 0
    Last Post: 07-15-2010, 02:05 PM
  5. Comment follow cell link
    By Tnesper in forum Excel General
    Replies: 2
    Last Post: 07-09-2009, 04:40 PM
  6. [SOLVED] Excel, in a cell, how do i link to a pic & autohide like a comment
    By harperma in forum Excel General
    Replies: 1
    Last Post: 10-26-2005, 04:05 PM
  7. [SOLVED] How can I get a cell's comment moved into an adjacent cell as a st
    By Mark from Princeton in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2005, 02:05 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