Macro to move thru document

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am resending as I don't think the first question was received.

I am using Word 2000. I have created a protected form. I would like the user to click on the item in the drop down box and then once they have chosen, I would like the insertion point to go directly to the next form field (Text1) without having to TAB. I created a macro to GOTO the next field but it only works with TAB or Pagedown. When users open the form, they don't know what to do next after the first dropdown.

Wendy
 
Hi Wendy,

You have an encountered a limitation of Word form fields. You can utilize a macro for entering/exiting the field but you have to press Tab or move to another field in order to trigger the Exit event of the form field.

I'm not sure what to suggest other than perhaps utilizing a UserForm instead of Word form fields in which you can control this type of behavior:
word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

--
Please post all follow-ups to the newsgroup. Email requests for assistance can not be acknowledged.

~~~~~~~
Beth Melton

Word FAQ: http://mvps.org/word
TechTrax: http://mousetrax.com/techtrax/
 
Hi Beth,

So, I already went down the form field road and created a document.
Everything was fine until I needed to add some more check boxes near the top
of the document. Now the cursor doesn't move through the document in the
order I want when I press tab.

What's the best way to get the cursor in the order I want? Do I have to add
a macro to each field? If so, what's the difference between and enter and an
exit macro? Or can I rename the bookmarks with the order number I want?

Thanks so much,

Karen
 
What you are talking about is what Word calls an "online form." Check this
in help. For more about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customization/FillinTheBlanks.htm especially Dian
Chapman's series of articles. You may also want to look at
http://www.word.mvps.org/FAQs/TblsFldsFms/LinesInForms.htm. Among those
links is one on changing the tab order without redoing the entire form.

Hope this helps,
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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

Back
Top