I
I
Ivan Vyrov2018-03-06 08:19:10
C++ / C#
Ivan Vyrov, 2018-03-06 08:19:10

How to fix an error when shaping Excel through EPPlus?

The essence of the error when filling out the cell is making a transfer When opening Excel, the text is written in one line until the cell is edited. If you put the cursor in a cell, then the text in the line form is displayed in 2 lines. At the same time, LibreOffice Calc opens as expected.sheet.Cells[row, col].Value = "Вх. №\r\nВх. Дата";
5a9e24c34564b612842321.png
5a9e2476610c5473821386.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2018-03-06
@ProKiLL

Try to specify Style.WrapText = true for the cell

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question