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

MS Word TextBox object (tabbing)

Status
Not open for further replies.

dprayner

Programmer
Oct 14, 2002
140
US
Good afternoon good people.

I have a Word Document with several objects (TextBoxes, ComboBox, command Buttons, etc.).

What I am trying to do is setup the Textboxes to Autotab after 1 character is keyed. I am using TextBox ojects and not the Text form field or HTML textboxes. This is working fine if the AutoTab property is set to TRUE and the MaxLength property is set to 1, but if I populate a field through an event such as Private Sub TextBox1_Change() or Private Sub TextBox2_GotFocus() events, the character won't appear until I click on the field.

What I am also trying to do is once the field is populated (1 chatacter), it Autotabs to the next field to be completed.

A Word document behaves totally different than a VB form in Word. If .SetFocus worked, I would be all set.

Thank you, DAVE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top