+ Reply to Thread
Results 1 to 8 of 8

Comment box position

  1. #1
    Forum Contributor
    Join Date
    01-12-2004
    Location
    Nebraska, USA
    MS-Off Ver
    Office 365
    Posts
    167

    Comment box position

    I have a workbook that makes extensive use of comment boxes.

    When the comment displays, it always displays to the RIGHT of the commented cell. This causes comments in the RIGHT hand columns, and on the BOTTOM rows to extend beyond the viewable screen. The user must scroll over, or down (or sometimes both) to read the comment.

    Is there any way to force the comment box to display in a different position?

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Take a look at Debra's solution ...

    http://www.contextures.com/xlcomments03.html#Centre

    HTH
    Carim

  3. #3
    Forum Contributor
    Join Date
    01-12-2004
    Location
    Nebraska, USA
    MS-Off Ver
    Office 365
    Posts
    167

    Unhappy VBA doesn't work

    I had already discovered the page at Contextures.com that you posted a link to....
    and I copied and pasted the code into the workbook...but, it didn't work.

    Is there a flaw in the code on the webpage...???

    That solution is exactly what I am looking for, and I would love to make it work.

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    It is working perfectly ...

    But you are dealing with an event macro ...

    Go to worksheet tab
    right click
    select view code
    copy code in sheet module ...

    Enjoy it ...!!!

    HTH
    Carim

  5. #5
    Forum Contributor
    Join Date
    01-12-2004
    Location
    Nebraska, USA
    MS-Off Ver
    Office 365
    Posts
    167

    Arrow VBA does, indeed, work.

    Carim....it DOES work perfectly.

    I didn't realize that you had to click on the cell.

    Is there any way to modify the code so that the user only needs to put the cursor on the cell....??
    And, have the comment disappear when the cell is selected??

  6. #6
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Sorry but you do not have to click ...

    it is a selectionchange event ...

    Leave your mouse aside for a few seconds, and use arrows to move your cursor ...
    unless you mean clicking to indicate selecting the cell ...

    HTH
    Carim

  7. #7
    Forum Contributor
    Join Date
    01-12-2004
    Location
    Nebraska, USA
    MS-Off Ver
    Office 365
    Posts
    167

    Arrow I would like a mouse-over to initiate the code.

    Yes, by clicking on the cell...I meant selecting the cell.

    The comment normally appears when the cursor is placed within the cell.
    The VBA code is run only after the cell is selected....and it doesn't go away until you click on a different cell.

    I would like a mouse-over to initiate the code. Selecting the cell would turn OFF the comment...as would moving the cursor out of the cell.

    What changes do I need to make to this code to achieve this...???

  8. #8
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Sorry ...

    I am afraid there is no MouseOver event for a cell ...

    Carim

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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