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

Free Support Forum - aspose.com

How to indetify the identical cells?

Hi,



I want to identify which cells are identical as per the text and formatting so that I don’t need to process all repeating cells.
Please help me know how to do that?

Thanks,
Azeem

Hi,

Thanks for your posting and using Aspose.Cells for Java.

Well, there is no such API in Aspose.Cells that can find identical cells. As a workaround, you will have to compare Style object of cells to identify the identical cells.

Java


Style style1 = cell1.getStyle();

Style style2 = cell2.getStyle();


//compare style1 with style2 to identify the cells with identical formatting