Carriage return in cell

Carriage return in cell

Forum member · May 23, 2006
I've got a cell containing a string. The string contains two lines with a carriage return (CrLf) between them. How do I get the carriage return visible in the cell?

Re: Carriage return in cell

Support · May 23, 2006
Hello, Please look at the following code snippet to get the carriage return visible in the cell: C# Code: row.Cells.Add( "Hello\nWorld\nTest" ); VB.Net Code: row.Cells.Add("Hello" & vbCrLf & "World" & vbCrLf & "Test") Thanks, ceTe Software Support Team