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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine Which TextBox has... 1

Status
Not open for further replies.

Yogi39

Technical User
Jun 20, 2001
273
CA
I have a user form with 6 textboxes.
How can I code to see which box has focus or is active ?
 
What are you wanting to do once you have determine if a particular cell is active or GotFocus?
 
me.activecontrol result is the conmtent.
I would like the control name if possible ?
 
cool thanks....
Use Me.ActiveControl.name
 
Hi Yogi39,

ActiveControl is an object. You can access all of its Properties, so for its name use Me.ActiveControl.Name

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top