View Single Post
  #2  
Old November 20th, 2009, 09:57 PM posted to microsoft.public.word.newusers,microsoft.public.word.pagelayout,microsoft.public.word.programming
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default making textbox to be auto sizable

Why do you need to use that type of textbox?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"s" wrote in message
...
I added a Textbox to a Word 2007 document by going
to the Developer option(in the File menu), then chose Design Mode,
then Legacy Tools-Text box Field. The MultiLine
and Enterkey properties are set to True and the rest
are default. The textbox is of size so that it can take some
10 rows of lines. Is there a feature I can choose/set so that
when more than 10 rows of lines are entered the text box
will automatically expand? The rows need to increase so the
textbox needs to expand downwards to accommodate the
text more than 10 lines.
Can someone please advise if there is an inbuilt way/feature to
do it in Word 2007 or do I have to use some VBA code to do that?

I set the AutoSize to true, but
when I go out of the Design mode and try entering text, the
Textbox shrinks to a size which can hold only one character
per line.