Forum Discussion
itsMonty
May 22, 2025Brass Contributor
How can I adjust this VBA code to effect the sheet not the workbook
I have this code for clearing checkboxes from an inserted object, but it clears the entire workbook. Does anyone know how to adjust it to clear the sheet it is placed in. Please note I chose this cod...
HansVogelaar
May 22, 2025MVP
Sub Oval1719_Click()
On Error Resume Next
ActiveSheet.CheckBoxes.Value = False
On Error GoTo 0
End Sub