Office Word Programming >> VBA - Change functionality of tab and enter key

by Rich Mogy » Sat, 08 Nov 2008 03:44:29 GMT

I have a document with a form that is written to by the user. The user would
like to use the "enter" instead of the "tab" key to leave the form. Is this
possible, and if so, how?



Office Word Programming >> VBA - Change functionality of tab and enter key

by Jay Freedman » Sat, 08 Nov 2008 04:32:37 GMT





Yes, see http://support.microsoft.com/?kbid=211219.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.





Office Word Programming >> VBA - Change functionality of tab and enter key

by Rich Mogy » Sun, 09 Nov 2008 01:47:30 GMT

Thank you very much.






VBA - Change functionality of tab and enter key

by Rich Mogy » Mon, 10 Nov 2008 13:03:52 GMT

I spoke too soon -- I'm running 2003, this article was for 2002. They have
apparently changed something in 2003 that prevents the code in the article
for workings.






VBA - Change functionality of tab and enter key

by Graham Mayor » Mon, 10 Nov 2008 14:25:34 GMT

Not so - the code works in Word 2003 and 2007. My guess is that you saved
the form template containing the code with the protection on.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>










VBA - Change functionality of tab and enter key

by Rich Mogy » Tue, 11 Nov 2008 14:37:58 GMT

Saw the error of my ways -- it works. Thanks

RM









Similar Threads

1. Word 2003 - Enter Key acts like Tab Key

When I hit the enter key, it tabs over instead of dropping to the next line.  
The enter key acts like the tab key.  Same thing happens in Outlook 2003, but 
I assume that is because Word is used as the editor. Any help stopping this 
would be greatly appreciated.

Regards,

-rob

2. Re-mapping Enter Key to work like Tab Key - Word VBA

3. Hitting Enter, Tab, changes previous tab setting

I'm trying to type a legal document in "numbered outline" format (it has 
headings, subheadings, sub-subheadings, etc.). When I am in a subheading and 
I hit Enter, in addition to sending me to the next line, it will also often  
change/screw up the tab settings of the line/subheading that I was just on. 
Often, when I hit Tab, it will also change the tab setting of one or more 
previous lines. In a numbered outline format, is there a way for me to hit 
Enter or Tab without it changing the tab setting of any of my previous 
content?

4. How do I change the auto text command (enter) key to another key - Word Document management

5. The TAB key and SHIFT+TAB won't change the list level

The TAB key and SHIFT+TAB won't change the list level in Word 2007. Instead, 
both commands will just indent with a normal TAB. How can I fix this?

6. Make Enter Key do Tab - Microsoft Office

7. How can I froce the Enter key to do Tab

I have developed a fill in form in Word (Office 2000) and it works like a 
charm. Quite easy to develop and is exactly what I need - with one exception

No matter how often I say "Don't use Enter - use Tab" - to move from one 
field to the next, I still end up with forms that have lost the last few 
lines because of "Enter's" in the earlier part of the from. I would like to 
force a "Tab" when the "Enter" key is depressed while filling in this form.

Wouldn't the use of "lock" prevent the user from filling in the form?


8. My enter key is tabbing - Word Document management