I'm trying to add a pretty long text into the Excel sheet by using C#. I use this code:
worksheet.Cells[1, 1] = textString;
The result is here:
What I want is:
Suggestions?
I'm trying to add a pretty long text into the Excel sheet by using C#. I use this code:
worksheet.Cells[1, 1] = textString;
The result is here:
What I want is:
Suggestions?
To get this effect you have to copy the text to clipboard and then paste it to the relevant cell. See this example
Note: Set
textString
to your very long string.TRIED AND TESTED
SNAPSHOT