if this data contains Line Feeds then you can test for that
and remove it...
Function fRemoveLineFeed(strIn as string)
dim x as Integer
dim strData as string, strPrevC as string
strPrevC = ""
For x = 1 to len(strIn)
If Asc(mid(strIn,x,1))< 32 Then
If Asc(mid(strIn,x,1)) = vbLf Then
If strPrevC <> space(1) Then 'Add a Space
strData = strData & " "
End If
End if
Else
strData = strData & Mid(strIn,x,1)
strPrevC = Mid(strIn,x,1)
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.