VBA: Checked checkboxes in array of groupboxes
问题 I am running a sub where I need to count the number of checked checkboxes in a groupbox and do this for several groupboxes. Edit: I forgot to mention I am using form controls and not ActiveX controls. My first issue is creating an array of group boxes. I tried using GB_Array = Activesheet.Shapes.Range(Array(Cells(x, y), Cells(z, y))) ' x,y,z defined elsewhere I can make that work by manually adding, but it isn't ideal. My second issue is with this part: Option Base 1 Dim cbox as Checkbox Dim