UR Welcome.
Also note that when you import/assign text from an external application/process/code, you will have a problem in differentiating, VBCRLF, VBCR, VBLF. All return as (a) pipe(s).
So use something like this
VB Code:
Private Sub Command1_Click() strng = "Me" & vbCrLf & "My" & vbCr & "Myself" & vbLf Text1.Text = strng strng = Replace(strng, vbCrLf, "") strng = Replace(strng, vbCr, "") strng = Replace(strng, vbLf, "") Text1.Text = strng End Sub




Reply With Quote