I want to change the text of some buttons like btn1,btn2,bt3,...( 'btn' & nr) by the same sub.
sub changeText(nr)
' changes the Text of Button btnnr
end sub
How to pass the number or anything else that defines the chosen button to the sub and change its text? Is there another simple way than using
select case(nr=..) ?
sub changeText(nr)
' changes the Text of Button btnnr
end sub
How to pass the number or anything else that defines the chosen button to the sub and change its text? Is there another simple way than using
select case(nr=..) ?