Satal Keto
New Member
- Joined
- Nov 21, 2005
- Messages
- 12
What i want to do is get more than one line of text in a text box.
I know that the following code will change the text of a text box to Hello
But what i would like to do is get it to change the text of the text box to...
I know that i can do a more than one line in a MsgBox by using the code
But you can't use & vbCrLf & like that in a text box.
Does anyone have any ideas of how i would be able to achieve this?
I know that the following code will change the text of a text box to Hello
Code:
Private Sub CommandButton1_Click()
TextBox1.Text = "Hello"
End Sub
But what i would like to do is get it to change the text of the text box to...
Hello
World
I know that i can do a more than one line in a MsgBox by using the code
Code:
Private Sub CommandButton1_Click()
MsgBox "Hello" & vbCrLf & "World"
End Sub
Does anyone have any ideas of how i would be able to achieve this?