Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can use VBA. After the text is entered in the cell by your userform,
select that cell, then use .EntireRow.AutoFit to make Excel resize the row. For example, if the text was in A10: Range("A10").Select Selection.EntireRow.AutoFit If the text is longer than 1024 characters, Excel won't display all of it in the cell. Also, the AutoFit method won't work if the cell is a merged cell. Hope this helps, Hutch "Patrick C. Simonds" wrote: I have a Userform which deposits some text into a cell. My problem is the it the text is to long for the cell the text wraps but the row height does no adjust to display all the text. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I prevent a long string of text from wrapping in a text fil | Excel Discussion (Misc queries) | |||
Text wrapping | Excel Discussion (Misc queries) | |||
text wrapping when text is pasted in excel | Excel Discussion (Misc queries) | |||
I am using wrap text in excel, so why isn't all my text wrapping? | Excel Discussion (Misc queries) | |||
Text Wrapping | Excel Discussion (Misc queries) |