How to uncheck or deselect all checkboxes at once in Excel?
How could you uncheck or deselect all checked checkboxes at once in a worksheet as following screenshot shown? In this article, I will talk about some quick codes to solve it.
Uncheck or deselect all checked checkboxes with VBA code
Uncheck or deselect all checked checkboxes with VBA code
Uncheck or deselect all checked checkboxes (Form Controls):
If your checkboxes are form controls, you can uncheck them at once with the following VBA code:
1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following code in the Module Window.
VBA code: Uncheck or deselect all checked checkboxes (Form Controls):
Sub ClearCheckBoxes()
'Updateby Extendoffice
Dim chkBox As Excel.CheckBox
Application.ScreenUpdating = False
For Each chkBox In ActiveSheet.CheckBoxes
chkBox.Value = xlOff
Next chkBox
Application.ScreenUpdating = True
End Sub
3. Then press F5 key to run this code, and all checked checkboxes have been unchecked at once in active worksheet.
Uncheck or deselect all checked checkboxes (ActiveX Controls):
If the checkboxes are ActiveX Controls, please apply the below VBA code:
1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following code in the Module Window.
VBA code: Uncheck or deselect all checked checkboxes (ActiveX Controls):
Sub clearcheckbox()
'Updateby Extendoffcie
Dim c As Object
For Each c In ActiveSheet.OLEObjects
If InStr(1, c.Name, "CheckBox") > 0 Then
c.Object.Value = False
End If
Next
End Sub
3. Then press F5 key to run this code, and all checked checkboxes have been deselected at once in active worksheet.
Insert multiple check boxes in selections at once
Kutools for Excel's Batch Insert Check Boxes utility can help you to quickly insert multiple checkboxes at once. Click to download Kutools for Excel!
![]() |
![]() |
![]() |
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!















