Hello all,
I have a userform containing a textbox with multiline and word wrap set to true. I have added code to allow the height to expand automatically as the user adds text, which functions properly. However, when the text entered reaches the second line, the first line moves up and can't be seen. The user can "arrow up" the cursor and the first line will become visible again, but is there any way to prevent this from happening in the first place? Here are some screenshots:
First line of text
First line.png
Right as the second line is generated
Right as the second line is generated.png
As you type in the second line (it came back!)
As you type in the second line.png
As the third line is generated (it's gone again )
The third line is generated.png
Also, here is the code I used to autoadjust the height of the textbox:
Any help would be greatly appreciated!HTML Code:
Bookmarks