I wonder about a design with 75 buttons on one panel!?! However, if that is the need, I would identify a button by its Text property or, for greater flexibility, its Tag property. Something like:
<pre>Dim c As Control
For Each c In Panel1.Controls
If TypeOf c Is Button Then
MsgBox(c.Text, 0, “”)
I am assuming Visual Basic 2005 here. You could do something very similar in VB6 or the conceptually simpler Control Array.