You wanna be a bit more specific as to WHY you want this?

If, for example, you have this:

Code:
Private Sub Command1_Click()
    MsgBox Command1.Name
End Sub
It returns, OF COURSE, "Command1"

Same with a TextBox (don't know what a textbook is other than what I used in college decades (many) ago.)

If you have an ARRAY of command buttons or textboxes, and you want to know which one was clicked, you'd refer to its index as well as its name.

So, what are you really looking for, and why?