while working on an export to Excel I discovered the following problem.
If you create a table where one cell has a line break and you save the document as a txt file it will look like this:
"firstLine<LF>secondLine"<TAB>"secondColoumn"
When I open this file in Excel the line break is gone and the first row has only one cell with the value firstLine
Do you know if it is somehow possible to keep the line breaks?
EDIT: Applies to Excel2010. Don't know if other versions behave different.
EDIT2: Steps to reproduce:
- Open blank excel sheet
- Enter text (first column with line break, second colum not important)
- Save as Unicode Text (txt) // all other txt don't work as well
- Close Excel file
- File->Open
- No changes in the upcoming dialog.
The excel file has now 2 rows which is wrong.
File > Open
? – JimmyPenaAlt+Enter
to get the line break, correct? – JimmyPena