Hello,
I need to analyze a file, but firts I have to remove the crlf-characters from it, if there are.
I do it with this code
How can check, if any replacement has been done during the run?
Many thanks
I need to analyze a file, but firts I have to remove the crlf-characters from it, if there are.
I do it with this code
Code:
For j = 1 To Len(c01) Step 355 'The file has 355 long records without crlf, the file itself is the c01 var.
C02 = Mid(c01, j, 355)
c02 = Replace(Mid(c01, j, 355), vbCrLf, CR)
next
Many thanks