Question : Programatically create multiple paragraph to a Excel Cell

I am trying to programatically write text of multiple paragraphs to excel cell.  But the text I try to write has to be appear as multiple paragraph within the Excel Cell.  
What character will I be able to programatically added to the end of each paragraph  within the text.

I know when I use Excel, I will use Alt-Enter to create a paragraph break with the cell if I want to have multiple paragraph within a cell.  What is the equivalent of 'Alt-Enter' if I am trying to write value to excel cell in C#.

Answer : Programatically create multiple paragraph to a Excel Cell

Hi Tommy,

In order to insert line breaks you can use the following - Chr(10) value.

So if you have some VBA code like this...

"Example1" &Chr(10) &"Example" &Chr(10) &Example3 then in the cell it would appear so...

Example1
Example2
Example3

- Ardhendu
Random Solutions  
 
programming4us programming4us