Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2014, 05:38 AM
macropod's Avatar
macropod macropod is online now Find textbox name Windows 7 32bit Find textbox name Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,519
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In your previous reply, you said:
Quote:
Originally Posted by Hdata View Post
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 View Post
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

__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
clip art with embeded textbox Mel Spence Misc 0 05-19-2013 09:38 AM
Find textbox name Display result in textbox based on the input of another textbox scarymovie Word VBA 5 05-16-2012 07:05 PM
textbox color issue Dave Duncan Word 0 08-07-2011 10:38 AM
Textbox Template t0m46 Word 0 09-07-2010 03:38 AM
Creating Chart using VB textbox value shyler82 Word VBA 0 03-12-2010 06:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft