Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2007

Tip: Looking for answers? Try searching our database.

Tab Order for Dropdown Fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JD McLeod - 12 Dec 2007 02:59 GMT
Below is code that I have in a form in Word which sets the tab order when the
user preses Tab.  How should this look when the tab key should move from a
text field to a dropdown and/or checkbox field and then back to a text field.
The below works great for moving between text fields, but when I get to a
dropdown, it doesn't work.  Thanks.

Sub ExitText991()
   ActiveDocument.Bookmarks("Text22").Range.Fields(1).Result.Select
End Sub
JD McLeod - 12 Dec 2007 03:39 GMT
Is this getting close to what I need?  I have read the common link to
www.mvps.org/FAQ/TblsFldsFms/SetTabOrderContent etc.but was hoping for some
more hands on help from the community.  thanks.

Sub ExitText27()
   ActiveDocument.FormFields("Dropdown34").Range.Fields(1).Result.Select
End Sub

> Below is code that I have in a form in Word which sets the tab order when the
> user preses Tab.  How should this look when the tab key should move from a
[quoted text clipped - 5 lines]
>     ActiveDocument.Bookmarks("Text22").Range.Fields(1).Result.Select
> End Sub
JD McLeod - 12 Dec 2007 03:43 GMT
Ok, this seems to work, but is it correct?

Sub ExitText27()
   ActiveDocument.FormFields("Dropdown34").Select
End Sub

Thanks.

> Below is code that I have in a form in Word which sets the tab order when the
> user preses Tab.  How should this look when the tab key should move from a
[quoted text clipped - 5 lines]
>     ActiveDocument.Bookmarks("Text22").Range.Fields(1).Result.Select
> End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.