I generate an Excel file with ClosedXML and I want to know how can I do a Carriage Return Within a Cell?
Asked
Active
Viewed 3,665 times
1 Answers
10
You can use Environment.NewLine
to add a "carriage return" to a cell's value.

Francois Botha
- 4,520
- 1
- 34
- 46
-
1"Simply concatenate " + `Environment.NewLine` + " into a string"; This works for text in Comments also. – Abel Wenning Apr 21 '21 at 06:25