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

Free Support Forum - aspose.com

Cannot Merge columns of the last row of the table


I am trying to merge the columns of the table for my report. I can merge the columns of all the rows except the last row of the table. It gives error "Can't merge cells".

for(int i=columnFlag; i<9;i++){

table1.mergeCells(table1.getCell(columnFlag-1, slideFlag), table1.getCell(i, slideFlag));


Can anyone please guide me what am I doing wrong.



Hi Parth,

Thanks for inquiring Aspose.Slides.

I have observed the code snippet shared by you and it seems fine in accordance with the sample code shared over this documentation link . Can you please share the sample presentation including the desired table with us so that I have further investigate the issue on my end and help you out.

Many Thanks,