I'm trying to use VBA to replace newline characters in a text file with any ascii character. The text file was saved as txt from a Word document, and the newline characters show up in the text file as little squares. I've tried the following:
These both compile and run, but do nothing. Does anyone know the solution?
Thanks,
Paul Hudgens
Denver
Code:
LineString = Replace(LineString, wdCRLF, "|")
LineString = Replace(LineString, vbNewLine, "|")
These both compile and run, but do nothing. Does anyone know the solution?
Thanks,
Paul Hudgens
Denver