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 / October 2007

Tip: Looking for answers? Try searching our database.

User form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ah - 08 Oct 2007 11:02 GMT
Can anyone guide me on how to automatically move the cursor to the next field
available in the form after running a macro? FYI, I've a macro which ensure
that the correct selection list is prompted for each of the field based on
the Country code that the user has selected.i found that word will bring me
back to the 1st page after the user form is prompted. Is there any way to
make the user form prompted in the same page with the text field?Please
advice.
Doug Robbins - Word MVP - 08 Oct 2007 11:29 GMT
Is this really a userform or a protected document with formfields?

For a userform, you would use the SetFocus command to set the focus to the
desired control on the form.

For a protected document with formfields, you would use a command to select
the .Range of the bookmark the name of which is assigned to the formfield
that you want to be selected.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Can anyone guide me on how to automatically move the cursor to the next
> field
[quoted text clipped - 6 lines]
> make the user form prompted in the same page with the text field?Please
> advice.
fumei - 09 Oct 2007 04:37 GMT
Yes, I am not following this.  "Selection list"?

Rate this thread:






 
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.