Text1.Text = "@Admin: " + Text2.Text + vbNewLine + Text1.Text
that makes a new line (vbNewLine) but it moves up, how do I make a new line, but make itmove down?
Printable View
Text1.Text = "@Admin: " + Text2.Text + vbNewLine + Text1.Text
that makes a new line (vbNewLine) but it moves up, how do I make a new line, but make itmove down?
Do it backwards!
Text1.Text = text1.text & vbnewline & "@Admin: " & Text2.Text
lol, I never would have thought of that...thanks!
How about using VbCrLf instead of vbNewLine
Or you could use:
But I guess Qwerty's way is better :).Code:Text1.Text = text1.text & Chr$(13) & Chr$(10) & "@Admin: " & Text2.Text
By the way, I checked in the VB 4.0 help file and there are no words such as vbNewLine and VbCrLf. Are they only in VB 6.0?
I've been using them since vb5 so they are in it. NOt sure about earlier versions.