Still seeking answers. This is what I've come up with so far.
Using a separate Command click:
dim d as integer
for d = 1 to buttons
buttons = buttons - 1
if I try to call this routine, without clicking the command button I get an error. I have also tried to immediately unload the control array element after creating it and get the same error as below.
call routine code
sendkeys "%C", true
I get this error:
unable to unload in this context
Is there a way to use a call procedure without the user actually clicking on the command button to get the control array to clear. So when a combo box selection is used the control array is recreated.