Help with macro

Hi.

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.

Parents
  • 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.

Reply Children