Hello, for a .NET project we need to detect if a particular cell is a merged one, and in that case get the number of rows/columns that the merged cell contains. Could you please help us with some sample code to reach that??
Thanks
Hello, for a .NET project we need to detect if a particular cell is a merged one, and in that case get the number of rows/columns that the merged cell contains. Could you please help us with some sample code to reach that??
Hi,
Thanks for your posting and using Aspose.Cells.
You can use the following properties and method for your needs.
Console Output:
Aspose.Cells.CellArea(D5:H7)[4,3,6,7]
Aspose.Cells.CellArea(B11:G13)[10,1,12,6]
True
Aspose.Cells.Range [ Sheet1!D5:H7 ]