Merging cells on Row 0 causes problems


#1

I am trying to merge cells in Row 0 of a worksheet.
The problem is that this causes ALL the cells of the columns to be merged !!

This works fine on other rows except Row 0

Does anyone have a solution to this problem.

Tarun
-=-


#2

Hi Tarun,

Are you using Aspose.Cells for .NET or Aspose.Cells for Java? What's the version number?

I tried the following code and it worked fine.

Workbook wb1 = new Workbook();

wb1.Worksheets[0].Cells.Merge(0, 0, 1, 3); //Merge A1 to C1

wb1.Save("d:\\test\\abc.xls");