H
Herve cadieu
In vb programs there are often controls arrays
such as command1(0),command1(1), command1(2)
and some code which reacts to specific index:
sub command1_click(index as integer)
if index =1 then
do something
else
do something else
end if
end sub
Ok I am looking for the way to create such controls array in VBA, to use
these kind of VB code in VBA projects .
I have tried to name a control command1(0) but it is not a valid name
how can I proceed to create these command(n) controls ?
Thank you for your knowledge
best regards
such as command1(0),command1(1), command1(2)
and some code which reacts to specific index:
sub command1_click(index as integer)
if index =1 then
do something
else
do something else
end if
end sub
Ok I am looking for the way to create such controls array in VBA, to use
these kind of VB code in VBA projects .
I have tried to name a control command1(0) but it is not a valid name
how can I proceed to create these command(n) controls ?
Thank you for your knowledge
best regards