View Single Post
  #7   Report Post  
Posted to microsoft.public.word.docmanagement,microsoft.public.word.newusers,microsoft.public.word.pagelayout,microsoft.public.word.programming
s[_2_] s[_2_] is offline
external usenet poster
 
Posts: 41
Default making textbox to be auto sizable

Graham Mayor wrote:
If you set the cell option to wrap the text then wrap it will.


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.


Frank H wrote:
Use a table, 1 row, 1 column.
Set the table properties, advanced, so that the width will not
resize. Then the table can expand in height as someone types into it.
It you need to protect the document and use a form field, use the
Legacy Field / tools, and insert a plain old text form field.


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.