Skip to content
Advertisement

Multiline text in Excel cells

I’m trying to write multiline text to excel cells.

JavaScript

But when I open the document, I see only one line until I double-click it for editing, then it becomes two-lined. Why is it so? Thanks

Advertisement

Answer

You need to set the row height to accomodate two lines of text.

JavaScript

You need to set the wrap text = true to get the new line. Try this : Here wb is the Workbook.

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement