+ Reply to Thread
Results 1 to 6 of 6

Toggle cells to turn pictures On & Off

  1. #1
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    2010
    Posts
    496

    Toggle cells to turn pictures On & Off

    Hello,
    Need help on toggle a cell or shape to turn on or turn off picture(s).

    Basic needs...
    1. Toggle a cell if it is OFF, it will turn on the picture in a column next right to a cell called image.
    Picture will bring to front, then shape or dot will change to green color.
    2. Toggle a cell if it is ON, it will turn off the picture. Shape or dot will change to white color.
    3. All images will place in "Images" worksheet.
    4. If there are more than one picture, roll a mouse over the cell (green dot in image column) will show
    that picture. Roll over to a different green dot, then picture will switch to the picture that related
    to that green dot. Picture will bring to front.
    5. Pictures will show next right to the cell that holds the green dot.

    For some reason, I could not upload example xlsx file from my computer. It said failed. I did it many times
    before had no issue. I do not know why. I will keep trying.

    I did using Managed Attachment > Choose files > Select the file from my computer > Click "upload" button on far right
    > pop-up showing "Upload Errors" ... file name ' upload of file failed > Click Close This Window back to the post.
    There is no sample file being upload. After the new thread is posted, I use edit post then use "Go Advanced" to upload
    the example file, it did not work. I have "You may post Attachments" right.

    I tried again, it works for jpg files. Maybe file size 5,072 KB is too big for xlsx file?

    Thanks in advance.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Rocky2013; 05-22-2017 at 04:39 PM.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Toggle cells to turn pictures On & Off

    For some reason, I could not upload example xlsx file from my computer. It said failed. I did it many times
    before had no issue. I do not know why. I will keep trying.
    How big is the file?
    - make your images smaller and bring file size below 1,000.0 KB
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    2010
    Posts
    496

    Re: Toggle cells to turn pictures On & Off

    Hi,
    I took sometime to reduce the images to 600 dpi. Supprise the file reduce a lot. XLSX file now attached,

    Thanks

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Toggle cells to turn pictures On & Off

    In attached file click on a different value in column C to change the picture

    When cell in column C is selected, value of J4 changes to match, and the green dot is moved to the correct position,
    This is achieved with this change macro:
    Please Login or Register  to view this content.
    J4 is used in named range MyPicture
    - its RefersTo formula is
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    - the text in Imagex column A must be identical to sheet1 column C for the above match to work

    The interactive picture is a linked picture (it's linked via the named range)
    - its formula is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    - it is not possible to link a picture directly to a cell, so it's achieved via the named range
    - click on the picture and the formula appears in the formula bar
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    2010
    Posts
    496

    Re: Toggle cells to turn pictures On & Off

    Hello kev_
    My thought is to click the dot to show the picture. In order to know which dot to
    click, I have to look at the description in column, then come back to the dot to click.

    But I like your way to click a name in column C, the green dot will move to row position
    to the description that was clicked. It is a much better way than mine.

    Thanks for the help and take extra steps to provide more logical way for the solution.

    Thanks Again!

  6. #6
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Toggle cells to turn pictures On & Off

    You are welcome
    Thanks for marking the thread as solved and for the rep.

+ 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. How to remove hyperlink to pictures in excel and retain the pictures?
    By london7871 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-04-2016, 11:24 PM
  2. Toggle Button Does not Toggle OFF when Clicked
    By robbfamily in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-19-2014, 05:12 PM
  3. Replies: 1
    Last Post: 05-02-2014, 06:18 AM
  4. Replies: 1
    Last Post: 02-13-2014, 10:55 PM
  5. Project management and pictures, basically make a day planner with pictures
    By Axe Doctor in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-10-2012, 12:58 PM
  6. Replies: 2
    Last Post: 07-11-2006, 01:35 PM
  7. Replies: 1
    Last Post: 01-29-2006, 02:50 AM

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