In days gone by you could use a wonderful object called the Control Array in VB.
This would you allow you to, say, have 30 buttons on the form all called "Command" but indexed from 0 to 29.
This meant that you could trap any event for all 30 buttons with one procedure (eg: Sub...