Does Alt-Enter insert a non-printing character in a cell string?

  • Thread starter Thread starter Henry Stock
  • Start date Start date
H

Henry Stock

You can force a carriage return linfeed into an Excel cell to cause the
visible text to wrap by using the key combination Alt-Enter.

But does doing that actually insert something into the text string of that
cell?

Would there be an invisible chr(010) + chr(013) in the text string?
 
Check further with some VBA:

Sub checkASC()
Dim i
For i = 1 To Len(Selection)
MsgBox Mid(Selection, i, 1) & " is ASC code " & Asc(Mid(Selection, i,
1))
Next i

End Sub
 
Back
Top