Creating form and changing enter key to move between form fields.

L

lisalb

I have an online form that I want users to be able to use the enter key to
move between form fields. I found macros that were written for WD 2000. I'm
currently using Word 2003 and these macros appear to work fine. However,
when I test using the template and save the completed form to a .doc - I
receive a second message box prompting me DDo I want to save changes the
document template?" How to I stop this message box?
 
B

Beth Melton

Try adding this line at the end of the AutoNew macro:
ActiveDocument.AttachedTemplate.Saved = True

Additionally, you'll likely obtain faster responses to application specific
questions by posting in a newsgroup dedicated to that application and task.
For example, the best newsgroup for questions about macros/VBA is the Word
Programming group (microsoft.public.word.vba.general).

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
https://mvp.support.microsoft.com/profile/Melton

What is a Microsoft MVP? http://mvp.support.microsoft.com/gp/mvpfaqs
 

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