+ Reply to Thread
Results 1 to 25 of 25

Making checkboxes not visible

  1. #1
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Making checkboxes not visible

    I have a drop down on C23 with a few values let's say it's blue, green, yellow and red. Only If red is choosen I want my checkboxes/text and text to appear. For all others cell D23 should should be blank. I tried to use conditional formatting and this works fine but it doesn't make the checkboxes invisible.

    How can I achieve this?

    Thanks for your help!!!
    Last edited by Elizabethd1012; 04-29-2014 at 12:43 PM.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Making checkboxes not visible

    Hi Elizabethd1012,

    Check out this link, which may be of some help.

    http://www.excelforum.com/excel-prog...lls-value.html

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    This didn't help me. I think it may be because they were using older excel versions.

  4. #4
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    I want something like:
    Please Login or Register  to view this content.
    But this is not working!
    Last edited by Elizabethd1012; 04-29-2014 at 01:36 PM.

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Making checkboxes not visible

    Post Deleted
    Last edited by Winon; 04-29-2014 at 02:38 PM. Reason: Code tags were added

  6. #6
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    I updated it.

  7. #7
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    Can someone please tell me what is wrong with my code above?

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Making checkboxes not visible

    Your code structure won't compile. Maybe ...

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    I tried this but no luck

  10. #10
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Making checkboxes not visible

    Hello Elizabethd1012,

    Thank you for your kind co-operation.

    We would need to see a sample of your Workbook, in order to provide you with a ready solution.

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Thank you.

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Making checkboxes not visible

    No luck what, Elizabeth? What's in C23? What happens when you set a breakpoint and step through the code?

    http://www.cpearson.com/excel/DebuggingVBA.aspx

  12. #12
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    C23 would be the colors such as blue, green, yellow and red using a data validation drop down. I just want all the checkboxes to be present only when the color red is selected from the drop down.
    Last edited by Elizabethd1012; 04-29-2014 at 05:11 PM.

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Making checkboxes not visible

    I just want all the checkboxes to be present only when the color red is selected from the drop down.
    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    Your code doesn't give me an error. But nothing happens. The checkboxes remain.

  15. #15
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    I will try this! thanks

  16. #16
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    This doesn't work. Nothing happens at all. I wish I could attach a sample but I'm at work and job doesn't allow uploads. Here is a screen shot if it helps.

    \1
    Last edited by Elizabethd1012; 04-29-2014 at 05:26 PM.

  17. #17
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    I will able to upload. See attached.
    Attached Files Attached Files

  18. #18
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Making checkboxes not visible

    Elizabeth, there's no code in the workbook you uploaded. Right-click the Sheet1 tab, select View Code, and paste the code in the window that opens.

  19. #19
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    Oh I know. I removed it because it wasn't working. Are you able to get your code to work on this document?

  20. #20
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Making checkboxes not visible

    1. There's no dropdown in C23. It's in A1.

    2. The checkboxes aren't Checkbox1/2/3 (names that would suggest they are ActiveX controls); they are forms controls named "Check Box 1", "Check Box 3", and "Check Box 4"

    Please Login or Register  to view this content.
    Last edited by shg; 04-29-2014 at 06:15 PM.

  21. #21
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    This is working as far as removing the check boxes but the checkboxes don't appear when red is selected. So if pick blue and go back to red the checkboxes are not there.

  22. #22
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Making checkboxes not visible

    I just downloaded your workbook again, installed the code again, and ran it again. It works fine for me, Elizabeth. Maybe someone else can try.

  23. #23
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Making checkboxes not visible

    Hi Elizabethd1012,

    What shg has given you works perfectly on my side as well!

    Maybe you should upload your Workbook, so that we can see what goes wrong on your side.

    Regards.

    @ shg,

    Good work!!!

  24. #24
    Registered User
    Join Date
    07-11-2013
    Location
    Long Island, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Making checkboxes not visible

    It works now. So strange it wasn't working before!!! Thanks a lot!

  25. #25
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Making checkboxes not visible

    Hi Elizabethd1012,

    Thank you for the feedback.

    That is just great!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    I would also like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which you have been helped.

    This adds to the reputation of the person who has taken the time to help you, and shg would surely appreciate it.

    Thank you.

+ 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 can I select only the visible checkboxes only one column?
    By kikisell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2013, 02:20 PM
  2. Making One Checkbox Check Other Checkboxes plus more
    By zapatam21 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-19-2013, 02:19 PM
  3. Auto making of checkboxes
    By stojko89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-12-2010, 05:35 AM
  4. [SOLVED] Making checkboxes mutually exclusive
    By instructorjml in forum Excel General
    Replies: 3
    Last Post: 04-06-2006, 01:50 AM
  5. [SOLVED] Making a list box of checkboxes
    By David Gerstman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2005, 06:05 PM

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