Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.programming,microsoft.public.word.newusers,microsoft.public.word.pagelayout,microsoft.public.word.docmanagement
g_1 g_1 is offline
external usenet poster
 
Posts: 5
Default limiting number of words in textbox in Word 2007

I created a Textbox in MS-Word 2007 by going
to the Developer option-then chose Design Mode,
then Legacy Tools-Text box Field. The MultiLine
and Enterkey properties are True and the rest
are default values.

Is there a way I can limit the number of
words to a certain number? I realize there is a way to limit the
number
of characters in the Textbox by the Maxlength value. Also, is it
possible that a message
appears when the user exceeds the maximum length informing
him about that. Do I need to use VBA code or do the inbuilt
features of word allow me to do that?
  #2   Report Post  
Posted to microsoft.public.word.programming,microsoft.public.word.newusers,microsoft.public.word.pagelayout,microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default limiting number of words in textbox in Word 2007

The short answer is no. The best practical solution is to insert a text form
field in a table cell of fixed height and width of sufficient size to
accommodate the required amount of text. The user will be able to type more
than will fill the cell, but should soon get the idea that there will be no
space for it as it disappears of the page.
Do not use ActiveX fields in a document designed to be filled in Word. Use
the legacy form fields.

--

Graham Mayor - Word MVP

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



g_1 wrote:
I created a Textbox in MS-Word 2007 by going
to the Developer option-then chose Design Mode,
then Legacy Tools-Text box Field. The MultiLine
and Enterkey properties are True and the rest
are default values.

Is there a way I can limit the number of
words to a certain number? I realize there is a way to limit the
number
of characters in the Textbox by the Maxlength value. Also, is it
possible that a message
appears when the user exceeds the maximum length informing
him about that. Do I need to use VBA code or do the inbuilt
features of word allow me to do that?



  #3   Report Post  
Posted to microsoft.public.word.programming,microsoft.public.word.newusers,microsoft.public.word.pagelayout,microsoft.public.word.docmanagement
s[_2_] s[_2_] is offline
external usenet poster
 
Posts: 41
Default limiting number of words in textbox in Word 2007

Graham Mayor wrote:
The short answer is no. The best practical solution is to insert a text form
field in a table cell of fixed height and width of sufficient size to
accommodate the required amount of text. The user will be able to type more
than will fill the cell, but should soon get the idea that there will be no
space for it as it disappears of the page.
Do not use ActiveX fields in a document designed to be filled in Word. Use
the legacy form fields.


Thanks for the advice. I appreciate your time and help.
--

Graham Mayor - Word MVP

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



g_1 wrote:
I created a Textbox in MS-Word 2007 by going
to the Developer option-then chose Design Mode,
then Legacy Tools-Text box Field. The MultiLine
and Enterkey properties are True and the rest
are default values.

Is there a way I can limit the number of
words to a certain number? I realize there is a way to limit the
number
of characters in the Textbox by the Maxlength value. Also, is it
possible that a message
appears when the user exceeds the maximum length informing
him about that. Do I need to use VBA code or do the inbuilt
features of word allow me to do that?

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
limiting number of words in textbox in Word 2007 g_1 Microsoft Word Help 2 November 23rd 09 12:12 AM
HELP! Limiting word count in a textbox!? (Word 2003) rufusbabe Microsoft Word Help 4 January 15th 09 08:38 AM
Limiting find to two words froggfeathers Microsoft Word Help 4 December 30th 08 04:26 AM
Limiting the number of words allowed in a cell Ali Tables 7 May 22nd 08 01:54 PM
Version Control--Limiting number of versions. erik_gregory Microsoft Word Help 1 January 15th 08 04:05 AM


All times are GMT +1. The time now is 12:27 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"