+ Reply to Thread
Results 1 to 3 of 3

hide comments on mouse hover

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    18

    Post hide comments on mouse hover

    Hi all,

    I need to somehow achieve the following; I think I am almost there but am struggling with the Workbook_Open coding.

    1) On Workbook_Open - I need to hide all comments from being shown including on mouse hover

    2) On cell range selection and button click
    e.g. Range A11 selected and toggle button "show/hide comments" is clicked

    3) comments for that cell are then either shown or hidden dependant on toggle condition

    Many Thanks,

    H

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

    Re: hide comments on mouse hover

    Posted by Error
    Last edited by mehmetcik; 01-16-2017 at 04:58 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
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: hide comments on mouse hover

    Hello hemal89,

    Here is the working code for what you want to do. The draw back is the comment indicator (red triangle) has to be hidden. Anytime the indicator is visible, Excel will not yield control to VBA.

    ThisWorkbook Module
    Please Login or Register  to view this content.
    ActiveX Toggle Button Code
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Mouse Hover Effect using VBA!!
    By meus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2015, 04:27 AM
  2. Code to change shape colour with mouse hover
    By lorettag1966 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-04-2014, 10:16 PM
  3. Replies: 3
    Last Post: 04-22-2014, 12:08 PM
  4. Mouse Hover Macro
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2014, 08:01 AM
  5. Button changes in appearance with a mouse hover
    By jeff_kaufman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2013, 11:50 AM
  6. Mouse hover labels
    By SoMeOnE31619 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2012, 03:33 PM
  7. Chart showing information on mouse hover
    By HangMan in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 07-18-2012, 09:44 AM

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