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

Free Support Forum - aspose.com

Unmerge cells not working

I am trying to unmerge cells for a worksheet(refer attached image).
Tried using:
cells.unMerge(0, 0, cells.getMaxDataRow() + 1, cells.getMaxColumn());
Also tried creating a range and using range.unmerge() but the code doesn’t seem to work for me.image.png (32.7 KB)

1,If you want to remove all merged cells, please use Cells.ClearMergedCells().
2, Now Cells.Unmerge only works when the whole range is merged. We will update the “cells.unMerge()” feature to remove all mreged cells in the range.
And log it with issue id CELLSNET-52346.