+ Reply to Thread
Results 1 to 2 of 2

Hiding static images based on state of checkbox...

  1. #1
    Registered User
    Join Date
    09-04-2014
    Location
    Dallas
    MS-Off Ver
    2010
    Posts
    1

    Hiding static images based on state of checkbox...

    Hey everybody! New to the forums (and this level of programming within Excel), and I think I might need a bit of help.. I tried the search function, but wasn't exactly sure how to describe my issue.. So, apologies if this has been asked 1000 times before me.. Also, sorry if this is in the wrong section too...

    So, on to my issue:

    I've got two worksheets (Formulas, Diagram)

    On the Diagram sheet, I've got (for this example) 3 images displayed, one underneath another. (pic1, pic2, pic3)

    On the Formulas sheet, I've got check boxes that should correspond to each picture (check box1 = pic1, etc.).

    I'd like to make the images static in location on the Diagram sheet, but be removed or added depending on the state of the associated check box. So, if check box2 is unchecked, pic2 disappears, but pic1 and pic3 stay where they are.

    I've found examples of how to dynamically change a picture based on a value within the same cell(if x=0, then red_pic; if x=50, then green_pic; etc.) but I have yet to find an example of my particular situation. Any help would be appreciated.. Even if it's just a link to a different thread, or just saying "Look up functions for 'x' conditional statements and go from there."

    Thanks guys!!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Hiding static images based on state of checkbox...

    See attached for example. I put everything on one sheet but the same principle applies.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    09-04-2014
    Location
    Dallas
    MS-Off Ver
    2010
    Posts
    1

    Re: Hiding static images based on state of checkbox...

    Thanks 6string! The example you gave is pretty close to what I was imagining.. Will probably have vertical instead of horizontal orientation, but same concept.. What I can't see though, are formulas associated between the shape and the check box.. I can't right-click on the check boxes, and the shapes show no formulas.. And don't see where you used macros.. Are they hidden somewhere, or am I just slightly stupid? lol

+ 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. [SOLVED] Looking for some help on hiding columns based on checkbox selection
    By Spritz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-07-2013, 10:38 AM
  2. CheckBox state not passing to the sub - Please Help
    By kbbraman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-11-2012, 12:27 PM
  3. Setting CheckBox value based on state of column (hidden/unhidden)
    By leafs in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-13-2011, 10:37 AM
  4. get state of checkbox on worksheet
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-15-2009, 04:05 PM
  5. [SOLVED] How I get CheckBox state on a Sheet.
    By Cactus [ÏÉÈËÇ&ograv in forum Excel General
    Replies: 6
    Last Post: 01-14-2005, 11:07 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