A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Strange Tab Key Behavior



 
 
Thread Tools Display Modes
  #1  
Old June 30th, 2004, 06:56 PM
bg18461
external usenet poster
 
Posts: n/a
Default Strange Tab Key Behavior

I have a userform with about 20-30 textboxes. When users use the tab
key to navigate, it will work, then all of a sudden just stop. The tab
stays inside the textbox and tabs over spaces inside the userform
textbox, but it does not jump to the next box. This seems to be
intermittent, if the user restarts the form, it goes away, but
eventually it sometimes returns to this weird behavior. Has anyone
come across this, i am puzzled???


---
Message posted from http://www.ExcelForum.com/

  #2  
Old July 1st, 2004, 12:48 AM
Dave Peterson
external usenet poster
 
Posts: n/a
Default Strange Tab Key Behavior

There's a tabkeybehavior property that sounds like is set to true for some and
false for others.

If you select the textbox (when you're designing the form), hit F4 to show its
properties, you can see that .tabkeybehavior.

Check out VBA's help for more info.

You could also use some code to set this property:

Option Explicit
Private Sub UserForm_Initialize()
Dim ctrl As Control
For Each ctrl In Me.Controls
If TypeOf ctrl Is MSForms.TextBox Then
ctrl.TabKeyBehavior = False
End If
Next ctrl
End Sub




"bg18461 " wrote:

I have a userform with about 20-30 textboxes. When users use the tab
key to navigate, it will work, then all of a sudden just stop. The tab
stays inside the textbox and tabs over spaces inside the userform
textbox, but it does not jump to the next box. This seems to be
intermittent, if the user restarts the form, it goes away, but
eventually it sometimes returns to this weird behavior. Has anyone
come across this, i am puzzled???

---
Message posted from http://www.ExcelForum.com/


--

Dave Peterson

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Behavior of Tab Key Steve Andrews General Discussion 1 June 19th, 2004 01:10 AM
Strange SUM function behavior Always Care Adult Center Worksheet Functions 2 June 8th, 2004 05:26 PM
Word 2003 -- Strange bullet behavior! David Fetterman Page Layout 2 May 5th, 2004 02:44 AM
Word 2003 -- Strange behavior! David Fetterman New Users 2 May 2nd, 2004 04:50 PM
Strange Sum/Average Behavior Josh W. Worksheet Functions 2 April 17th, 2004 03:20 AM


All times are GMT +1. The time now is 05:40 PM.


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