Some time ago I have a sample code to assign the same procedure for multiple buttons.
Something like this:
For Eeach buttton in Form1
If button is clicked
MsgBox button.Caption.
But I can't find this code now.
Googling I cant found egzactly what I need.
I just remember that I need to insert a class module.
Could someone give me a link or a short example.