+ Reply to Thread
Results 1 to 9 of 9

Clear Contents and Checkboxes Button

  1. #1
    Registered User
    Join Date
    11-07-2013
    Location
    Virginia Beach, VA
    MS-Off Ver
    O365
    Posts
    19

    Clear Contents and Checkboxes Button

    Hello,

    I am trying to create a button in that will clear contents of E5:E8 and and also clear all checkboxes (located in D5:D8) on the sheet. I have the codes below but can't seem to get them to work together. Additionally, I cannot recall whether I created the checkboxes with activex or form.


    Please Login or Register  to view this content.
    Last edited by chparkervatech; 06-21-2016 at 12:08 PM. Reason: To comply with forum rules

  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: Clear Contents and Checkboxes Button

    Moderation removed.
    Last edited by Winon; 06-21-2016 at 12:52 PM. Reason: Code Tags were added
    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
    11-07-2013
    Location
    Virginia Beach, VA
    MS-Off Ver
    O365
    Posts
    19

    Re: Clear Contents and Checkboxes Button

    Complied. Thanks.
    Last edited by chparkervatech; 06-21-2016 at 12:15 PM.

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

    Re: Clear Contents and Checkboxes Button

    Hello chparkervatech,

    Thank you for adding Code Tags.

    Please try the Code below. It assumes checkboxes with active-x Controls.

    Please Login or Register  to view this content.
    Regards.

  5. #5
    Registered User
    Join Date
    11-07-2013
    Location
    Virginia Beach, VA
    MS-Off Ver
    O365
    Posts
    19

    Re: Clear Contents and Checkboxes Button

    Hi - it cleared the contents but not the checkboxes. I believe my boxes are form based. Can you help with this as well? Sorry for the rework.

    Thanks,
    Chris

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

    Re: Clear Contents and Checkboxes Button

    Hello chparkervatech,

    Thank you for the feedback.

    I believe my boxes are form based.
    In that case change the Code as Follow:

    Please Login or Register  to view this content.
    Regards.

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

    Re: Clear Contents and Checkboxes Button

    Hi chparkervatech,

    I have not had any feedback from you since my last Post, and I have decided to provide you with a sample Workbook which takes care of any CheckBox, whether it is a Forms control or an Active-x Control.

    Please have a look at it, and feel free to change it in anyway you prefer.

    Regards.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-07-2013
    Location
    Virginia Beach, VA
    MS-Off Ver
    O365
    Posts
    19

    Re: Clear Contents and Checkboxes Button

    Appreciate it. I am good to go now.

    Thanks!

    Chris

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

    Re: Clear Contents and Checkboxes Button

    Hello chparkervatech,

    Happy to hear that.

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

    You may also Click 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] .

    Regards.

+ 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. VBA to clear cell contents when another option button is clicked
    By doglovinlady in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-23-2016, 05:31 PM
  2. Formula to temporarily clear contents of cell when button is clicked..?
    By jwd210 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2015, 01:42 AM
  3. Clear merged cell contents in comand button(clear all)
    By mohan_984 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-25-2015, 10:39 AM
  4. How to clear contents/delete rows on click of button
    By murchy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2013, 09:11 AM
  5. Clear Contents Macro-a Command Button
    By Andy Small in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2009, 05:29 AM
  6. creating clear contents button
    By ttik in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2008, 08:57 PM
  7. Clear cell contents with a button
    By KFC / A&W Boy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2005, 06:06 AM

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