Hi!
I need to create a few button depending of records in a table. I mean if I have 5 records in the table I will create 5 buttons. My problem is how can I create the name of any button and create the method/Sub for each button.
Ex:
for i=1 to 5
Dim "b" & i as Button
next
I have b1, b2...b5 as button
There is anyway to do this ?
I need to create a few button depending of records in a table. I mean if I have 5 records in the table I will create 5 buttons. My problem is how can I create the name of any button and create the method/Sub for each button.
Ex:
for i=1 to 5
Dim "b" & i as Button
next
I have b1, b2...b5 as button
There is anyway to do this ?