How do I print the tab order list?

  • Thread starter Thread starter Wes from Scottsdale
  • Start date Start date
W

Wes from Scottsdale

I have well over 100 controls on a form. It would be very helpful if I could
print the tab order list, rather than have to figure it out in that tiny
window.

Any ideas?
 
I have well over 100 controls on a form. It would be very helpful if I could
print the tab order list, rather than have to figure it out in that tiny
window.

Any ideas?

Paste this into a module.
Change "FormName" to whatever the actual name is of your form.
Run it.

Public Sub ShowTabOrder()

' Will show the TabOrder value for each control on the specified form.
Dim ctl As Control
DoCmd.OpenForm "FormName", acDesign, , , , acHidden
On Error Resume Next
For Each ctl In Forms("FormName")
Debug.Print ctl.Name & " " & ctl.Properties("TabIndex").Value
Next
DoCmd.Close acForm, "FormName", acSaveNo

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 Order 1
Tab Order 4
Change tab order on form tabs 1
can't seem to control tab order 2
Tab control pages and tab order 1
Access form control focus 1
Two sets of tab orders?? 1
Change Tab Order 9

Back
Top