PC Review


Reply
Thread Tools Rate Thread

How do I limit characters typed into a Word Table cell?

 
 
=?Utf-8?B?TWF1cmVlbg==?=
Guest
Posts: n/a
 
      6th Mar 2006
How DO I limit the characters typed into a cell on a Word table to the
visible area only?I have set exact dimensions for the cell and that limits
the visible characters but it doesn't limit the actaul characters typed in.
For instance - I can see 10 characters in a cell but there are really 25
characters in the cell. I would like to be able to limit the user input to
only the number of visible characters.

Thanks for your help!
Maureen
 
Reply With Quote
 
 
 
 
Jay Freedman
Guest
Posts: n/a
 
      6th Mar 2006
On Sun, 5 Mar 2006 17:12:27 -0800, Maureen <Maureen
@discussions.microsoft.com> wrote:

>How DO I limit the characters typed into a cell on a Word table to the
>visible area only?I have set exact dimensions for the cell and that limits
>the visible characters but it doesn't limit the actaul characters typed in.
>For instance - I can see 10 characters in a cell but there are really 25
>characters in the cell. I would like to be able to limit the user input to
>only the number of visible characters.
>
>Thanks for your help!
>Maureen


The only method Word provides to limit the number of characters as
they're being typed is to place a text form field in the cell, open
the field's Properties dialog and set the number of characters
allowed, and protect the document for forms. As a side effect, this
will prevent characters from being typed *anywhere* in the document
that isn't in a form field -- but it doesn't sound like this is what
you want.

The only alternative is to write a macro (probably one that intercepts
the Save function, and maybe another that intercepts the Print
function) to examine the table cell after the fact, and prevent
saving/printing if there are too many characters there. Users rightly
consider such long-after-the-fact intervention to be annoying.

What are you doing with the document after the user completes the
input? Maybe that processing could simply discard the "invisible"
characters.

--
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.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Limit characters typed in a cell Roger Govier Microsoft Excel Misc 0 1st Dec 2006 11:30 PM
RE: Limit characters typed in a cell =?Utf-8?B?RWxpc2FiZXRo?= Microsoft Excel Misc 0 1st Dec 2006 11:30 PM
go to next cell after specified # of characters typed =?Utf-8?B?MjRLdF9EZWJv?= Microsoft Excel Programming 2 20th Mar 2006 09:45 PM
How to limit the number characters typed in a text box on a ms acc =?Utf-8?B?WmFkaSBGcmllZHJpY2g=?= Microsoft Access Form Coding 3 28th Nov 2005 11:49 PM
Can you Limit the number of caracters that can be typed in a cell? pepperjack Microsoft Excel Programming 3 29th Aug 2004 03:19 AM


Features
 

Advertising
 

Newsgroups
 


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