Hi,
I'm trying to write a sub programm which shows a message that a specific button has been clicked out of a number of buttons.
the sub programm:
sub which_button_clicked
x = control("Button" & ??? ).name
msgbox(x)
end sub
??? = what should be there
then :
sub Button1_click
which_button_clicked
end sub
sub Button2_click
which_button_clicked
end sub
sub Button3_click
which_button_clicked
end sub
best regards.
I'm trying to write a sub programm which shows a message that a specific button has been clicked out of a number of buttons.
the sub programm:
sub which_button_clicked
x = control("Button" & ??? ).name
msgbox(x)
end sub
??? = what should be there
then :
sub Button1_click
which_button_clicked
end sub
sub Button2_click
which_button_clicked
end sub
sub Button3_click
which_button_clicked
end sub
best regards.