I am trying to delete the 'ActiveX' check box using below code. However, it is not working. Kindly advise.
Sub CheckboxRemove()
Dim cl As Range
Dim cb As Object
For Each cl In Selection
Set cb = ActiveSheet.CheckBoxes.Delete()
Next cl
Set cl = Nothing
Set cb = Nothing
End Sub
For an example, I have placed these ActiveX check boxes from A1 to F1 cell range. I will select the cells from A1:F1 and when I run this macro then these checkboxes should be deleted. Please advise