Aug 26, 2003 #1 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 ?
Aug 26, 2003 #2 fatherofthree MIS Aug 22, 2003 20 US What are you wanting to do once you have determine if a particular cell is active or GotFocus? Upvote 0 Downvote
Aug 26, 2003 1 #3 TonyJollans Programmer Dec 18, 2002 7,186 GB Hi Yogi39, Use Me.ActiveControl Enjoy, Tony Upvote 0 Downvote
Aug 26, 2003 Thread starter #4 Yogi39 Technical User Jun 20, 2001 273 CA me.activecontrol result is the conmtent. I would like the control name if possible ? Upvote 0 Downvote
Aug 26, 2003 Thread starter #5 Yogi39 Technical User Jun 20, 2001 273 CA cool thanks.... Use Me.ActiveControl.name Upvote 0 Downvote
Aug 26, 2003 #6 TonyJollans Programmer Dec 18, 2002 7,186 GB Hi Yogi39, ActiveControl is an object. You can access all of its Properties, so for its name use Me.ActiveControl.Name Enjoy, Tony Upvote 0 Downvote
Hi Yogi39, ActiveControl is an object. You can access all of its Properties, so for its name use Me.ActiveControl.Name Enjoy, Tony