textline = Replace(textline, vbCrLf, "")
textline = Replace(textline, Chr(13), "") textline = Replace(textline, Chr(10), "")
Sub ReplaceString() Dim textline As String textline = "ASSDFSDF" + vbNewLine + "sdfsd" 'textline = "ASSDFSDF" + vbCrLf + "sdfsd" textline = Replace(textline, vbCrLf, "") MsgBox (textline) End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)