The following code snippet works fine for a sheet where I have several shapes (some Forms checkboxes, radio buttons, groups, etc., plus some arrows, ovals and other drawing objects). But if I group some of the shapes together (say, to move them around), then I get run time error #1004 (application defined or object defined error). From stepping through the macro in debugger, I can see that it blows up when it hits the IF statement while referencing the grouped controls.
Wonder why this is and what I can do about it?
>>> snip <<<
With Sheets("EstimatingInput").Shapes(shapeindex)
If .FormControlType = xlCheckBox Then
>>> snip <<<
Wonder why this is and what I can do about it?
>>> snip <<<
With Sheets("EstimatingInput").Shapes(shapeindex)
If .FormControlType = xlCheckBox Then
>>> snip <<<