So, let me try to explain my problem.
I have a Group (28 to be exact) of Rectangle Shapes that are labled "cb1s", "cb1n", cb2s", cb2n".If the Shape has a fill the value is true and if not it's false.
Now, I have a form with CheckBox that have the same names.
Without doing a "If Then Else" for each Shape and CheckBox, is there a way to do it.
I'm attaching a sample Doc from CorelDRAW 2019 with the VBA form Embedded.
Any help would higly apreciated.
I'm not sure I understand what you actually want to do.
Are you trying to use checkboxes in a userform to modify the drawing, e.g., set the fill properties of the rectangles in the drawing?
If that's what you are doing, then I think you would need one checkbox in the form for each Yes/No pair of rectangles.
That's exactly what I'm trying to do.
And I have one CheckBox for each Rectangle.
In the example I only have 12.
Are ALL of the rectangles independent of each other? Or is it the case that, for each Yes/No pair, one of the rectangles will be filled, and the other one will not?
They are independent
I think that the number of independent things you want to control in the drawing... is going to determine the number of independent controls you need in your form.