Carrage return in TextBox?

  • Thread starter Thread starter Jamie Loren
  • Start date Start date
J

Jamie Loren

i am programatically putting data into a TextBox. I need to insert a
carriage return.

I tried this...
chr(13)

and this...
chr(10) & chr(13)

....but this didn't work. It only gave me little squares displayed instead
of going to the next line.

what am I doing wrong??
 
i am programatically putting data into a TextBox. I need to insert a
carriage return.

I tried this...
chr(13)

and this...
chr(10) & chr(13)

...but this didn't work. It only gave me little squares displayed instead
of going to the next line.

what am I doing wrong??

Try & vbCrLf. How are you inserting the characters?
Me.txtBoxName = "Some text" & vbCrLf & "some more text"?
_______________________________________________
hth - RuralGuy (RG for short)
Please post to the NewsGroup so all may benefit.
 
Back
Top