+ Reply to Thread
Results 1 to 4 of 4

How to make cell notes position where i have moved them on hover.

  1. #1
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    How to make cell notes position where i have moved them on hover.

    Hi all,

    I'm hoping it's something simple I have missed and I can be put right.
    I have a requirement to add images to a sheet, but ideally, I would like it so there is no scrolling to view each one.
    The images are technical schematics, so there is detail that needs to be visible, making the required images as big as possible.

    Adding an image to a note, then showing that note on hover is a perfect solution, if I can get all the images to appear in the same location.
    Editing the note and manually moving it seems to work, only to then hover over the cell to view the note and have it back at the default top right corner of the cell.
    But when showing all the notes, they are where I placed them.
    The size maintains as I have set, just not the position.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: How to make cell notes position where i have moved them on hover.

    Hi there,

    Not sure 'Comments' can be set to open by hovering over in a specific location.

    For your consideration, I have added a couple of alternatives in the attached workbook.

    On the sheet 'Workings' click/select any of the cells with 'comment...' and the corresponding picture will show in the frame set.
    How it works: A change event will set the value of cell 'D2' on Sheet 3. There is a lookup function in a defined range which will show the corresponding picture. This is then projected/shown using the 'Camera' tool onto the 'Workings' sheet in the specific location.
    This is the easiest method to maintain. No 'UserForm' setup required.
    The Defined Range will need to be expanded when additional images are loaded.

    On the sheet 'UserForm' the pictures are set into 'UserForms'.
    How it works: Again a change event will trigger which form is to be shown. The setting of the specific location where the form is to be shown is a bit trickier. This is set in each individual UserForm. A bit more involved as a UserForm needs to be setup for each picture. Also, the exact position can vary by user.
    There is also an option (Sheet1) to store all the images in one 'UserForm' and use the sheet change event to trigger which picture to show/hide.


    Hopefully this gives you some ideas...

    Let us know how you go with this or if you need another solution.
    Attached Files Attached Files
    Last edited by ORoos; 01-27-2024 at 05:58 AM. Reason: Additional Option / Simplified code
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  3. #3
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    Re: How to make cell notes position where i have moved them on hover.

    Thanks for the response.
    It works very well, especially like the idea of the 'camera' tool with a floating image.
    In an ideal world, this wouldn't be VBA or a macro workbook. As this will be distributed where code would be disabled above the user level, making it unusable.

    I did manage to find a very clunky method of this. (I now can't find where I found this method to link...)
    Creating a list of the names and related images on 'images' sheet.
    Using a dropdown list of options from that list.
    Creating a name, and applying that name to the image next to the dropdown.

    When I say clunky, it depends wholly on the position of the user on the 'images' sheet.
    If you move a few rows down, then the images don't line up when you make a selection.
    And the image that is displayed is restricted to the maximum size of a cell.

    Also, I need to have 5 separate lists on different sheets, all working the same with slightly different images being displayed.
    Any ways this can be improved upon?

    Thanks.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: How to make cell notes position where i have moved them on hover.

    Glad it gave you some ideas.

    I get the restriction not being able to use VBA. VBA is great to determine the address of the current cell, or as in the previous sample file, run based on a cell selection change.

    Without VBA, I don't know a way of determining where (which cell/row) the user is (hoover/select/click a specific cell) to use that cells' value to lookup the relevant picture.

    A dropdown list works, but I guess you need to manually select a value for the selection...?

+ 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. MOVED: Position of a checkbox
    By carlos1980 in forum Excel General
    Replies: 0
    Last Post: 08-02-2019, 04:56 AM
  2. Replies: 0
    Last Post: 08-01-2016, 04:47 AM
  3. [SOLVED] How to make 'button' change colour when hover over them
    By danlRB80 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 09-11-2013, 06:17 AM
  4. Replies: 1
    Last Post: 08-28-2012, 02:36 AM
  5. HOVER over a cell
    By just1creation in forum Excel General
    Replies: 1
    Last Post: 07-24-2006, 12:25 PM
  6. Replies: 2
    Last Post: 01-06-2005, 06: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