![]() |
#1
|
|||
|
|||
![]()
Hi to all.
I have to validate an ActiveX text box (no problem), but as the text box is obligatory the focus shall be (re)set to the text box if empty (problem). Using the '_LostFocus' event in Excel the single line … Code:
If Me.TextBox1.Value = "" Then Me.TextBox1.Activate In Word the code is executed, but the focus doesn't change all. Whatever object will be selected to 'lose focus' it remains selected. Any idea which code line(s) might (re)set the focus. Thanks for your help NP |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
G&G Danny | Word | 2 | 03-11-2014 02:17 AM |
validation email address in word text filed | sameerahmad_P | Word VBA | 1 | 03-07-2014 02:59 PM |
activex command buttons and text boxes | TRG | Word | 0 | 02-03-2012 09:18 AM |
Need help with placeholder text in ActiveX controls in Word | mhellerstein | Office | 0 | 11-02-2011 12:31 PM |
Help with forms (shifting focus) | jrh312 | Word | 0 | 11-19-2009 12:59 PM |