Gone through test.xlsx , the value in cell A1 is word wrapped. This is the reason you’re seeing the content with newline character in XL Sheet but not in uipath code. When you copy that value into notepad manually by yourself, you can see the entire text in a single line.
I have included the newline characters manually in the content and stored back to test.xlsx. Check the code with this fileTest.XLSX (11.6 KB)
I am trying to write a value ‘“jhshdhfs” + vbNewLine + “sdfsdf” + vbNewLine + “dfdfd”’ to a cell.
The value contains newLine character as I am appending it.
But when Iam executing read cell of the same written value, it is not containing the new line character.
Please find attached the workflow.
Thanks in advance.