Click to See Complete Forum and Search --> : textbox with vbCR+vbLF
mutley
Sep 22nd, 2000, 08:14 AM
Hi
How I put in the textbox, few lines with vbCR&vbLf ?
Dim
Sep 22nd, 2000, 12:47 PM
Assume you want a few empty lines at the begining of the text box.
Text1.Text = Text1.Text & VbCrLf
That will place one empty line at the begining of the text box.
Gl,
D!m
That actually places a new line at the END of the Textbox. At the beginning would be:
[code]
Text1=vbNewLine & Text1.Text
Or you can place it where ever the cursor position is.
Text1.SelText = vbCrLf
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.