We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to Check whether the Cell is Merged in Java

I want to check whether the cell is merged, If merged how do i get the value of its parent cell, ?


Please use the Cell.isMerged() method for your needs.

Once, you know the cell is a merged cell, then you can get merged cell range using the Cell.getMergedRange() method.

If you want to know all merged cells in a worksheet then use Worksheet.getCells().getMergedCells() method.

Reference Link:

Thanks a lot Shakeel