In your previous reply, you said:
Quote:
Originally Posted by Hdata
The textboxes I am working with are called VBA textboxes and not a Windows Form textbox.
|
From that, I would have thought they were not userform textboxes. But this:
Quote:
Originally Posted by Hdata
They are created in Office 2010 vba from the userform where I click the textbox control from the toolbox.
|
indicates otherwise. For a userform control, all you need is an 'Enter' event, coded like:
Code:
Private Sub TextBox1_Enter()
MsgBox Me.ActiveControl.Name
End Sub