Reply
 
Thread Tools Display Modes
  #1   Report Post  
laralea
 
Posts: n/a
Default Protect table cells in Word format from hard returns

Is there a way to prevent someone from entering a return after filling in a
form field?The field and form protection works fine, but users are putting
returns in the cell (not the form field).
  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

laralea wrote:
Is there a way to prevent someone from entering a return after
filling in a form field?The field and form protection works fine, but
users are putting returns in the cell (not the form field).


There is a way, using several macros, to make the Enter key behave like the
Tab key in a protected form. It's fairly complex.

How to Code the ENTER Key to Move to Next Field in Protected Form
http://support.microsoft.com/?kbid=187985

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org


  #3   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

You can accomplish more or less the same thing by just setting an Exact row
height. This won't prevent users from pressing Enter or entering too much
text, but most have sense enough to stop typing when the text starts to
disappear.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Jay Freedman" wrote in message
...
laralea wrote:
Is there a way to prevent someone from entering a return after
filling in a form field?The field and form protection works fine, but
users are putting returns in the cell (not the form field).


There is a way, using several macros, to make the Enter key behave like

the
Tab key in a protected form. It's fairly complex.

How to Code the ENTER Key to Move to Next Field in Protected Form
http://support.microsoft.com/?kbid=187985

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org



  #4   Report Post  
Jay Freedman
 
Posts: n/a
Default

The method you use has to take into account what will be done with the forms
after they're filled in. If they'll only be printed or saved for future
reference, then the Exact row height is sufficient. If the field contents
will be extracted with a macro, or saved into a database or used for some
other electronic process, the "extra" material will still be in the fields
and could cause problems.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Suzanne S. Barnhill wrote:
You can accomplish more or less the same thing by just setting an
Exact row height. This won't prevent users from pressing Enter or
entering too much text, but most have sense enough to stop typing
when the text starts to disappear.


"Jay Freedman" wrote in message
...
laralea wrote:
Is there a way to prevent someone from entering a return after
filling in a form field?The field and form protection works fine,
but users are putting returns in the cell (not the form field).


There is a way, using several macros, to make the Enter key behave
like the Tab key in a protected form. It's fairly complex.

How to Code the ENTER Key to Move to Next Field in Protected Form
http://support.microsoft.com/?kbid=187985

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
letters - ask/fillin Caroline H New Users 2 February 25th 05 08:19 PM
Boiletplates from Word Perfect linda Microsoft Word Help 1 January 28th 05 05:37 PM
How do I create & merge specific data base & master documents? maggiev New Users 2 January 12th 05 11:30 PM
Table headers Sam Hobbs New Users 12 December 20th 04 07:18 PM
Text space in table cells in Word 2003 (using Windows XP) Jaykay Tables 1 December 2nd 04 11:16 AM


All times are GMT +1. The time now is 03:41 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"