Page 1 of 1

Wrap merged cells

Posted: Thu Dec 13, 2018 9:59 am
by arakovec
Hi everybody,

is it possible to wrap text in merged cells? I am able to wrap text in a non-merged cell. I am using MergeCells and WrapText functions. I also tried AutoHeightRows but with no success.

Thank you for your answer,
Andrej

Re: Wrap merged cells

Posted: Fri Dec 14, 2018 4:12 pm
by alexey.t
Hello!
Some time ago I also faced this problem. I solved it by modifying a function TXLSWorksheet.AutoHeightRow. I sent the corrected version to the author. But he hasn't answered yet.

Re: Wrap merged cells

Posted: Fri Dec 14, 2018 7:51 pm
by timokhov
As I know Excel itself cannot make row autoheight in case of merged cells with text wrap.
The only way is to calculate and set row height directly.

alexey.t, what was the solution of a problem?
I'm simply interested, because I also sometimes have to solve problem with merged cells and text wrap.
But I solve it as I described - I calculate and set row height directly.
What is yours way?

Re: Wrap merged cells

Posted: Wed May 01, 2019 11:15 am
by JoeySen
What does setting row height directly do exactly in regards to this issue?