I'm trying to write a function that will replace all 'hard carriage returns' with ' '. I am using the Replace function, but not sure what to put in the second parameter.
The last replace ensures there is only one space replacing the return. You might not need to check for chr(10), which is for a line feed, so you should experiment a little.
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.