skipping tab index

E

emidkiff

I have a rather large form with about 60 or so text
boxes. These text boxes are grouped in relation to each
other. I want my user to be able to skip certain groups
of text boxes by selecting a check box or something when
there is nothing for them to enter. I think that would
save them a lot of time. I am having a problem in finding
a way to tell then check box that once it is clicked, to
skip from tab index 13 to 27 or something like that?
Anyone have any ideas on how I could do this?
 
A

Allen Browne

Use the AfterUpdate event procedure of the check box to SetFocus to where
ever you wish to jump to.

This example jumps to a control named SomePlaceElse if the user checks the
box named chk1, but not if they uncheck it:

Private Sub chk1_AfterUpdate()
If Me.chk1.Value Then
Me.SomePlaceElse.SetFocus
End If
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Problems created by Recent updates to Outlook 365 0
Tab index skips control 3
Move Chart with Text 0
Style Header Reformatted 3
Tab Order 7
current page index 2
text box select text 2
Skipping Rows with cursor 1

Top