Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2006

Tip: Looking for answers? Try searching our database.

Is there a resource for VB to convert Enter key to Tab functional.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Keymaster2006 - 28 Apr 2006 15:23 GMT
I’ve created a template in MS Word that I would like to have users fill in
the fields but not allow them to modify the length of the document by using
the Enter key (Carriage Return), the protect function does not appear to
prevent them from doing this.

I tried the following macro in Visual Basic and it passed the DeBugger but
does not function as I intended

If KeyCode = vbKeyReturn Then keyCode = vbKeyTab

Has anyone encountered this before?  Any insight would be welcomed.
Jay Freedman - 28 Apr 2006 15:51 GMT
See http://support.microsoft.com/?kbid=187985.

Signature

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.

> I've created a template in MS Word that I would like to have users
> fill in the fields but not allow them to modify the length of the
[quoted text clipped - 7 lines]
>
> Has anyone encountered this before?  Any insight would be welcomed.
Jean-Guy Marcil - 28 Apr 2006 15:54 GMT
Keymaster2006 was telling us:
Keymaster2006 nous racontait que :

> I've created a template in MS Word that I would like to have users
> fill in the fields but not allow them to modify the length of the
[quoted text clipped - 7 lines]
>
> Has anyone encountered this before?  Any insight would be welcomed.

See
   http://support.microsoft.com/?kbid=211219
for a set of macros to make the Enter key act like the Tab key in a
protected form.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.