Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all. I have a textbox (named txtdef) on a userform.
When the userform gets activated, txtdef gets populated with a cell value that contains a big group of words. I'm struggling with forcing the cell contents to wrap within the text box so the entire definition is visible. Snip of my code that doesnt' work: Private Sub UserForm_Activate() With txtdef .Value = Cells(rndrow, 1).Offset(, 2) .WordWrap = True End With End Sub The text box ends up looking like: *********************** *This is a test of usi* * * * * *********************** instead of: *********************** *This is a test of * *using the text box * *wrap properly. * *********************** Thanks. Jason |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
WordWrap a TextBox on a UserForm | Excel Discussion (Misc queries) | |||
using wordwrap in excel for text writing | Excel Worksheet Functions | |||
Why isn't Wordwrap not wrapping the last sentence? | Excel Discussion (Misc queries) | |||
MultiLine/WordWrap usage | Excel Programming | |||
Wordwrap wont!!!! | Excel Programming |