merged cells are not styles. they're separate entities on their own...from the top of my head sheet.addMergedRegion(new Region())



Dmitry Beransky wrote:

Hi,

within excel, if I copy&paste the format of a merged cell, the destination cell also becomes merged. However, if I try do to the same from POI (i'm using v2.5), the merged setting doesn't carry over. Here's what I'm currently doing:

style = myOrignalCell.getCellStyle();
destCell.setCellStyle(style);

is there anything special I need to do for merged cells?


Thanks Dmitry


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to