+ Reply to Thread
Results 1 to 7 of 7

Clear all form checkboxes...not working

  1. #1
    Registered User
    Join Date
    06-18-2022
    Location
    Ohio
    MS-Off Ver
    Office 365 Online
    Posts
    72

    Clear all form checkboxes...not working

    I found the following formula, but it doesn't seem to work to clear all the checkboxes on sheet 'Nonvisits' (where the button is located on K2). Any advice to make all the form checkboxes false?
    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,444

    Re: Clear all form checkboxes...not working

    Try this in a regular module :

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-18-2022
    Location
    Ohio
    MS-Off Ver
    Office 365 Online
    Posts
    72

    Re: Clear all form checkboxes...not working

    Thanks, but no it just does nothing at all when ran.

  4. #4
    Forum Contributor
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2411
    Posts
    258

    Re: Clear all form checkboxes...not working

    Try this code, but it blows out all formats in the cells.

    Please Login or Register  to view this content.
    You made my day!

  5. #5
    Registered User
    Join Date
    06-18-2022
    Location
    Ohio
    MS-Off Ver
    Office 365 Online
    Posts
    72

    Re: Clear all form checkboxes...not working

    Well that definitely does exactly what you said, RhiSJ, but clearing the checkboxes away is certainly not ideal. The point is someone with little excel knowledge can use the checkbox and then clear it for use again later. Is there no way to just set those cells (B6:B103 and K6:K103) to false?

  6. #6
    Forum Contributor
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2411
    Posts
    258

    Re: Clear all form checkboxes...not working

    If you want reset the checkbox,

    Please Login or Register  to view this content.
    If you want to remove the cellcontrols.
    Please Login or Register  to view this content.
    Last edited by RhiSJ; 11-25-2024 at 10:28 AM.

  7. #7
    Registered User
    Join Date
    06-18-2022
    Location
    Ohio
    MS-Off Ver
    Office 365 Online
    Posts
    72

    Re: Clear all form checkboxes...not working

    This did it! Thanks!
    Please Login or Register  to view this content.

+ 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] Simple clear form command not working
    By rob_h in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2018, 05:22 AM
  2. Clear Checkboxes macro
    By GgRee in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-28-2016, 09:01 PM
  3. Replies: 3
    Last Post: 11-11-2014, 10:27 AM
  4. [SOLVED] Clear multiple checkboxes
    By mfortier3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-25-2013, 12:27 PM
  5. Clear all checkboxes
    By bjohnsonac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-02-2011, 06:12 PM
  6. [SOLVED] Sheet Checkboxes clear
    By Pete in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2005, 04:05 AM
  7. [SOLVED] Clear All Checkboxes?
    By Brad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-11-2005, 04:06 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