I want to send a string with a carriage return to a multiline textbox. Example,
Text1.Text = "Hello World" + chr$(13) + "Bye"
The carriage return shows an odd character instead of returning to a new line.
Any suggestions
Printable View
I want to send a string with a carriage return to a multiline textbox. Example,
Text1.Text = "Hello World" + chr$(13) + "Bye"
The carriage return shows an odd character instead of returning to a new line.
Any suggestions
try this
Text1.Text = "Hello World" & vbCrLf & "Bye"
Code:Text1.Text = "Hello World" & vbNewLine & "Bye"
set the textbox to Multiline as well
Thanks for your help