Wrap merged cells

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
arakovec
Posts: 1
Joined: Thu Dec 13, 2018 9:51 am

Wrap merged cells

Post 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
alexey.t
Posts: 3
Joined: Mon Oct 29, 2018 8:20 pm

Re: Wrap merged cells

Post 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.
timokhov
Posts: 8
Joined: Sun Oct 28, 2018 4:16 pm

Re: Wrap merged cells

Post 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?
JoeySen
Posts: 1
Joined: Tue Apr 30, 2019 8:52 am

Re: Wrap merged cells

Post by JoeySen »

What does setting row height directly do exactly in regards to this issue?
Post Reply