Merged cell


#1

Hi Laurence

Is there any way of, given a cell, determining whether is merged or not? Thanks.


Steve


#2

Currently you cannot know if a cell is a merged one. Could you tell me why you need this feature?


#3

Hi Laurence,

I guess this isn’t really a critical issue… I was just trying to overcome the problems with using autofitcolumn on merged cells. Basically, I’m going through each cell’s content, determining the length and setting the column width. Merged cells needed to be handled differently from regular cells so that’s why I need to check if a cell is part of a merged range or not.

Steve


#4

Hi Steve,

I will add a new property Cell.IsMerged to let you know if a cell is part of a merged range or not.


#5

Please download v2.7.5 and try Cell.IsMerged property.