skipping tab index

  • Thread starter Thread starter emidkiff
  • Start date Start date
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?
 
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

Tab index skips control 3
Excel Move or Copy Stopped Working? 0
Skip patterns 1
set focus on single control 1
Setting focus 2
print white? 7
current page index 2
text box select text 1

Back
Top