+ Reply to Thread
Results 1 to 10 of 10

Uncheck all checkboxes which are checked on

  1. #1
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Uncheck all checkboxes which are checked on

    Hi,
    I have many checkboxes in column A from A6 onwards which i have checked on to generate some specific reports.Now ,I want to get them uncheck all as one by one it is time consuming.

    Kindly guide me through this.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: Uncheck all checkboxes which are checked on

    Perhaps...
    Please Login or Register  to view this content.
    Or for Active X

    Please Login or Register  to view this content.
    Last edited by sintek; 05-04-2019 at 05:35 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Uncheck all checkboxes which are checked on

    The first one works but I want to uncheck from A6 and below rows checkboxes only and not of whole worksheet

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: Uncheck all checkboxes which are checked on

    Please Login or Register  to view this content.
    Last edited by sintek; 05-04-2019 at 05:52 AM.

  5. #5
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Uncheck all checkboxes which are checked on

    It worked but it is very very slow when I use having checkboxes more than 500.How the code can be restated for faster unchecking.

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: Uncheck all checkboxes which are checked on

    Upload sample file to test...Sure someone will come up with a solution if this does not work...
    Add...start of code...after Dim i As Long
    Please Login or Register  to view this content.
    End of code before End sub
    Please Login or Register  to view this content.
    Last edited by sintek; 05-04-2019 at 01:21 PM.

  7. #7
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Uncheck all checkboxes which are checked on

    Pls find enclosed in attachment.There might be more.I want uncheck to be faster.For whole worksheet your first code was awesome faster but for specific column which is A from A6 and below the code provided is not faster.

    I have remove other columns data & row as I want to focus on uncheck part only.

    I now hope you will revised it accordingly.
    Attached Files Attached Files

  8. #8
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Uncheck all checkboxes which are checked on

    See if this option works a little quicker:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  9. #9
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: Uncheck all checkboxes which are checked on

    Nice one Arkadi...Only 1 loop...

  10. #10
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Uncheck all checkboxes which are checked on

    Thanks @sintek I assumed the double loop was the issue since the first code looked at all checkboxes but ran quickly enough.
    Credit goes mostly to you... I just tweaked it a bit.

+ 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] Checkboxes - How to check/uncheck other checkboxes based on another checkbox
    By brooklyn_87 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 10-27-2017, 01:20 PM
  2. [SOLVED] check and uncheck certain checkboxes with a button
    By 2mi3 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 03-29-2015, 03:55 PM
  3. VBA uncheck checkboxes in a range of cells
    By Dragan. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2015, 04:43 AM
  4. How to uncheck checkboxes with Date Macro
    By Ashnette in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-04-2010, 02:39 PM
  5. How to uncheck groups of checkboxes with one click?
    By Dyefrog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-29-2009, 09:44 AM
  6. Forms Check/Uncheck CheckBoxes
    By Kaziglu Bey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2008, 03:04 PM
  7. Check/Uncheck all checkboxes
    By JChandler22 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-23-2007, 03:03 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