User form

A

ah

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.
 
D

Doug Robbins - Word MVP

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.

--
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
 

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

Top