I am trying to wrap a value in a cell using EPPlus and VB.net / ASP.Net
Have anyone been able to do this? I searched SO & google, but no luck.
Wrap Text to a Cell using VBADefine the cell where you want to apply the wrap text using the range property. Type a dot to see the list of the properties and methods for that cell. Select the “WrapText” property from the list. Enter the equals sign “=” and the type TRUE to turn the wrap text ON.
Wrap text automaticallyOn the Home tab, in the Alignment group, click Wrap Text. (On Excel for desktop, you can also select the cell, and then press Alt + H + W.)
Go to Home. Select the column that you want to apply the Wrap Text function by highlighting it. On the Alignment group, click Wrap Text. Save the changes.
This will wrap the value of a cell (EPPlus 3.0.0.2) c# code:
workSheet.Cells[1, 1].Style.WrapText = true;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With