Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get the textbox name

Status
Not open for further replies.

Jofx

Technical User
Jan 12, 2005
16
FR
I would like to get the name of a texbox after this textbox has been updated.

something like:

Sub textboxName_AfterUpdate()
msgbox "The name of the updated textbox"
end

Thanks


 

Thanks Ken
I've tried your tip but it doesn't work.
The activecontrol gives the name of a multipage containing textboxes. Any other idea ?

 
Which ActiveControl have you tried ?
Me.ActiveControl.Name or Screen.ActiveControl.Name ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 

I just tried :
Sub textboxName_AfterUpdate()
msgbox Me.activecontrol.name
end

--> MultiPage1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top