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.
--
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" <s...@mailinator.com> wrote in message
news:04947e1a-d6bc-4a67...@e23g2000yqd.googlegroups.com...
We are sending out a word document to different users with certain
topics where they can write a few paragraphs about it. We are using a
Textbox as the widget where they can write about the topics. We expect
users will not write more than N number of words for each topic, but
in case they do, we want the textbox to increase in size so that they
can see the entire text they have written without scrolling and ensure
we can print the entire text when they send the document back to us,
if we wish to, without having to copy the text from the textbox to a
different document. Is there another way to achieve what we want?
Any suggestions would be appreciated.
"s" wrote:
> .
>
I did that. The only problem is if excess text is
typed in one row (which is more than the page width) it does not go
into the next row,
which is what we want.
> Frank H
> Rockford, IL
>
Thanks for the suggestion.
If users can ignore the limits of the fixed space that you have provided,
then there doesn't seem a lot of point having a box layout in which to
enter text. You may as well simply insert a text form field in the body of
the document. You can print the content of the field simply enough with a
macro eg
Sub PrintField()
With ActiveDocument
.FormFields("Text1").Select
.PrintOut Range:=wdPrintSelection
End With
End Sub
or you can extract the content of fields to another document or data file -
http://www.gmayor.com/ExtractDataFromForms.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
That did it. Thanks for the suggestion.
> If users can ignore the limits of the fixed space that you have provided,
> then there doesn't seem a lot of point having a box layout in which to
> enter text. You may as well simply insert a text form field in the body of
> the document. You can print the content of the field simply enough with a
> macro eg
>
> Sub PrintField()
> With ActiveDocument
> .FormFields("Text1").Select
> .PrintOut Range:=wdPrintSelection
> End With
> End Sub
>
> or you can extract the content of fields to another document or data file -
> http://www.gmayor.com/ExtractDataFromForms.htm
Thanks for that information also.