How do I create an on-exit macro?

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

Guest

I am creating a protected form in Microsoft Word and after information is
entered into a form field I would like the cursor to move to the next field,
without having to press the tab key.

I am not fluent with VBA or macros, I know very little, but any help would
be appreciated.

Thank you,
Kami Bell
 
You can't do it, because you need to press the tab key or click the mouse in
the next field to trigger the on-exit macro. You could do an on-entry macro
that pops up a userform to get the information and then when a given number
of characters are entered inserts that into your form, closes the userform
and moves to the next field but that seems like a lot of work for very
little benefit.
--
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

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
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