Hello. I'm importing a text file that contains a carriage return in one of the fields. Excel sees this and drops the content following that character to the next line, into column A. Running a routine like clean or substitute against the cell's contents doesn't replace the cells to where they belong (column E, in this case). How can I use Excel VBA to purge a string of this character before Excel sees it and does what it is told by the carriage return?
I can do this with Perl, but I'd like to keep this in VBA, since the rest of the code that handles these files is in VBA.
Thanks in advance!
I can do this with Perl, but I'd like to keep this in VBA, since the rest of the code that handles these files is in VBA.
Thanks in advance!