Remove All Checkboxes

This post will guide you how to delete all checkboxes at once in the active worksheet in Excel. How do I remove all checkboxes in a range of cells in Excel. How to quickly remove all checkboxes with VBA macro in Excel.

Assuming that you have lots of checkboxes in a range of cells, you want to delete all checkboxes quickly. How to achieve it. You need to select all checkboxes firstly, then delete it. How to select all checkboxes? You can use the Go To command or Find&Select function to select all checkboxes. You can refer to the following detailed steps.

Remove All Checkboxes with Go To


You can use Go to command to select all checkboxes in your worksheet, just do the following steps:

#1 go to HOME tab, click on the Find&Select command under Editing group. And select Go To Special from the drop-down menu list. The Go To Special dialog will open.

remove all checkboxes1

#2 select Objects radio button in the Select section. Click Ok button.

remove all checkboxes2

#3 all checkboxes in your worksheet are selected.

remove all checkboxes3

#4 press Delete key in your keyboard. All selected checkboxes are removed.

Remove All checkboxes with Select Objects


You can also use the Select Objects command to achieve the same result. Do the following steps:

#1 go to HOME tab, click on the Find&Select command under Editing group. And click Select Objects from the pop-up menu list.

remove all checkboxes4

#2 then drag the mouse to select all checkboxes in your worksheet.

remove all checkboxes5

#3 press Delete key to remove all selected checkboxes.

 

Remove All checkboxes with VBA Macro


You can also use an Excel VBA macro to delete all checkboxes quickly. Just do the following steps:

#1 open your excel workbook and then click on “Visual Basic” command under DEVELOPER Tab, or just press “ALT+F11” shortcut.

Get the position of the nth using excel vba1

#2 then the “Visual Basic Editor” window will appear.

#3 click “Insert” ->”Module” to create a new module

convert column number to letter3

#4 paste the below VBA code into the code window. Then clicking “Save” button.

remove all checkboxes6

Sub RemoveAllCheckboxes()
     ActiveSheet.CheckBoxes.Delete
    Selection.FormatConditions.Delete
End Sub

#5 back to the current worksheet, then run the above excel macro. Click Run button.

remove all checkboxes7

 

Leave a Reply