How to add a linefeed?

Topics: Developer Forum, Project Management Forum, User Forum
May 14, 2009 at 2:06 PM

How can I a add a linefeed in a Cell? I have tried to add "\r\n" to the text, but this does not really help. After opening the Sheet, there is still one line.

I have also changed the Height of the Row. The Height changes, but there is still only one line in the Cell.


Dec 9, 2009 at 1:22 AM

Have you found a solution for this... I am having the same issue.

Jan 7, 2010 at 9:40 AM

I did it this way:

1. to add a linefeed use  "\n" in the text

2. in the template file set the wrap on the wished cell  -> right click on the cell -> format cell -> alignment -> check the wrap text

   or you can create a style in excel template and then use it in code

   cell.Style = "StyleName";