#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Tabing in user form

I have a user form with text and combo boxes which I tab through to
input data. If I make a mistake I click the reset command button which
clears the boxes and i start again. However when I go to tab to the next
box my tabbing stays within the text box and doesnt advance to the next
text or combo box as it does when I first use the form. Any ideas on how
to fix this much appreciated thanks. L
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Tabing in user form

It kind of sounds like you have to change the .tabkeybehavior property for that
textbox to false.

But that wouldn't explain why you could tab out of that textbox before. Any
chance that the reset routine is fiddling around with that property?

lynz wrote:

I have a user form with text and combo boxes which I tab through to
input data. If I make a mistake I click the reset command button which
clears the boxes and i start again. However when I go to tab to the next
box my tabbing stays within the text box and doesnt advance to the next
text or combo box as it does when I first use the form. Any ideas on how
to fix this much appreciated thanks. L


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Tabing in user form

Dave Peterson wrote:
It kind of sounds like you have to change the .tabkeybehavior property for that
textbox to false.

But that wouldn't explain why you could tab out of that textbox before. Any
chance that the reset routine is fiddling around with that property?


Hi Dave this is my reset routine

Private Sub CommandButton3_Click()
ComboBox2.Value = "Animal mob"
ComboBox11.Value = ""
ComboBox12.Value = ""
TextBox17.Value = ""
ComboBox1.Value = "Numbers"
TextBox29.SetFocus

End Sub
Thanks L


lynz wrote:
I have a user form with text and combo boxes which I tab through to
input data. If I make a mistake I click the reset command button which
clears the boxes and i start again. However when I go to tab to the next
box my tabbing stays within the text box and doesnt advance to the next
text or combo box as it does when I first use the form. Any ideas on how
to fix this much appreciated thanks. L


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Tabing in user form

lynz wrote:
Dave Peterson wrote:
It kind of sounds like you have to change the .tabkeybehavior property
for that
textbox to false.

But that wouldn't explain why you could tab out of that textbox
before. Any
chance that the reset routine is fiddling around with that property?


Hi Dave this is my reset routine

Private Sub CommandButton3_Click()
ComboBox2.Value = "Animal mob"
ComboBox11.Value = ""
ComboBox12.Value = ""
TextBox17.Value = ""
ComboBox1.Value = "Numbers"
TextBox29.SetFocus

End Sub
Thanks L


Just repyling to myself here, I just tried it again and now cant get it
to tab in the boxes. It does happen quite often though so I will have
to try and remember exactly what I did when it starts happening. Its
quite annoying when it does as I have to close and reopen the form
again. Thanks L

lynz wrote:
I have a user form with text and combo boxes which I tab through to
input data. If I make a mistake I click the reset command button which
clears the boxes and i start again. However when I go to tab to the next
box my tabbing stays within the text box and doesnt advance to the next
text or combo box as it does when I first use the form. Any ideas on how
to fix this much appreciated thanks. L


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Tabing in user form

The code doesn't change that tabbehavior. You would have seen something like:
textbox18.TabKeyBehavior = true

I don't see anything in your code that would cause this to happen.

If you select the first textbox, do things go back to working correctly.

If yes, look at the .tabindex and .tabstop for each of your controls.

Select a control in the userform, hit F4 to show the properties window and then
scroll down that property list.





lynz wrote:

lynz wrote:
Dave Peterson wrote:
It kind of sounds like you have to change the .tabkeybehavior property
for that
textbox to false.

But that wouldn't explain why you could tab out of that textbox
before. Any
chance that the reset routine is fiddling around with that property?


Hi Dave this is my reset routine

Private Sub CommandButton3_Click()
ComboBox2.Value = "Animal mob"
ComboBox11.Value = ""
ComboBox12.Value = ""
TextBox17.Value = ""
ComboBox1.Value = "Numbers"
TextBox29.SetFocus

End Sub
Thanks L


Just repyling to myself here, I just tried it again and now cant get it
to tab in the boxes. It does happen quite often though so I will have
to try and remember exactly what I did when it starts happening. Its
quite annoying when it does as I have to close and reopen the form
again. Thanks L

lynz wrote:
I have a user form with text and combo boxes which I tab through to
input data. If I make a mistake I click the reset command button which
clears the boxes and i start again. However when I go to tab to the next
box my tabbing stays within the text box and doesnt advance to the next
text or combo box as it does when I first use the form. Any ideas on how
to fix this much appreciated thanks. L


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Tabing in user form

Dave Peterson wrote:
The code doesn't change that tabbehavior. You would have seen something like:
textbox18.TabKeyBehavior = true

I don't see anything in your code that would cause this to happen.

If you select the first textbox, do things go back to working correctly.

If yes, look at the .tabindex and .tabstop for each of your controls.

Select a control in the userform, hit F4 to show the properties window and then
scroll down that property list.

Thank you I will check the controls.
L





lynz wrote:
lynz wrote:
Dave Peterson wrote:
It kind of sounds like you have to change the .tabkeybehavior property
for that
textbox to false.

But that wouldn't explain why you could tab out of that textbox
before. Any
chance that the reset routine is fiddling around with that property?
Hi Dave this is my reset routine

Private Sub CommandButton3_Click()
ComboBox2.Value = "Animal mob"
ComboBox11.Value = ""
ComboBox12.Value = ""
TextBox17.Value = ""
ComboBox1.Value = "Numbers"
TextBox29.SetFocus

End Sub
Thanks L

Just repyling to myself here, I just tried it again and now cant get it
to tab in the boxes. It does happen quite often though so I will have
to try and remember exactly what I did when it starts happening. Its
quite annoying when it does as I have to close and reopen the form
again. Thanks L

lynz wrote:
I have a user form with text and combo boxes which I tab through to
input data. If I make a mistake I click the reset command button which
clears the boxes and i start again. However when I go to tab to the next
box my tabbing stays within the text box and doesnt advance to the next
text or combo box as it does when I first use the form. Any ideas on how
to fix this much appreciated thanks. L


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tabing through cells on a protected worksheet bnhcomputing Excel Discussion (Misc queries) 1 October 31st 07 01:38 AM
How do I fill a cell in a user form from a selection on same form? Terry Tipsy Excel Discussion (Misc queries) 4 June 11th 07 02:59 PM
Tabing between tables on a single worksheet txjag007 Excel Discussion (Misc queries) 5 September 7th 06 01:38 AM
User Form Still Trying mully New Users to Excel 3 May 26th 05 06:30 PM
user form static69 Excel Discussion (Misc queries) 1 February 6th 05 08:43 PM


All times are GMT +1. The time now is 06:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"