excel icon indicating copy to clipboard operation
excel copied to clipboard

How to insert a newline in a string within a cell

Open cedar-yxs opened this issue 1 year ago • 1 comments

Hi How to insert a newline in a string within a cell?

cedar-yxs avatar Dec 07 '23 12:12 cedar-yxs

When assigning values to cells, add a line break or the corresponding Unicode code for the line break, and then set the textWrapping corresponding to the cellstyle of this cell to TextWrapping.WrapText, you can wrap lines within cells, which works for me. You can also try it out

fcunnn avatar Jun 27 '24 12:06 fcunnn