I am trying to figure out how to import a tab delimited .txt file that will have quoted fields that will have CRs within them. Whenever I try to import, Excel breaks up the lines when it encounters a CR in the middle of a quoted field. I need the line to stay in tact. Any help is appreciated.
If I open the .txt file in notepad and select all and then copy it into Excel, I get what I want. The problem is when I open the file in Excel and try to use the delimiters and text qualifiers. That's when Excel splits quoted fields into different lines when it encounters CRs.
I have attached a sample input file and what the desired results should be. Notice that some of the cells have multiple lines in them.
Here is the code I was using to start with:Thanks in advance![]()
Please Login or Register to view this content.
Bookmarks