-
I need to create a report that prints in a text box. I have the txtbox set to multiline, with scrollbars, and need to show and line up two columns of text, but can't seem to get the carriage return/line feed to work in the textbox.
I thought I could simply insert chr(10) to start a new line within that textbox, but it simply puts in a weird character...Am I using the wrong ascii char? Is this poss in a text box?
HELP!! Need this by 04/09 for a project!!!! AAAARGH!
-
Without seeing all of your code, try inserting vbCrlf instead of Chr$(10).
-
Hi Susan
Use the VB intrinsic Constant >>> vbCrLf
Text1.Text = "This is Line 1" & vbCrLf & "This is Line 2":)