The cell's content has a line break in between two lines. Usually if I use
If rngCellContent = "Line1" & Chr(10) & "Line2" then varReturn = True
it returns True
but I have one case where it returns False
. I pasted the "faulty content" into Notepad++ but I can see no difference. It also shows me the same line break (CRLF
). Might there be a difference which gets "removed" through using the clip board?
How do I find out what kind of line breaks or non-print characters the cell contains that causes the return value to be false?
Note: I didn't compare the binary values of the strings yet. Can I just use a converter and paste it into there? Or will I run into the same problem?