VBA

How to display newline in Excel?

January 12, 2008

The commonly used to display newline in Visual Basic is using VbCrLF. But the problem is you will see a small rectangle at the end of the line. PLAIN TEXT Visual Basic: Dim strFirstLine As String Dim strSecondLine As String   strFirstLine = "This is the first line" strSecondLine = "This is second line"   [...]

Read the full article →