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

Free Support Forum - aspose.com

Problem wiht FreezePanes

Hello
I work with Office 2007 e i want to kow why this line of command within the. NET freeze the 5 first lines and the first five columns? It should freeze the 5 first lines and first 3 columns, correct?
". FreezePanes (5, 3, 5, 3) "

Please help me.

Alexandre

Hi,

Well, I don't find the problem you have mentioned, it works just fine as you expected. Following is my testing code and attached is the output file.

Sample code:

Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
worksheet.FreezePanes(5,3,5,3);
workbook.Save("f:\\test\\frozenr.xlsx", FileFormatType.Excel2007Xlsx);

By the way which version of Aspose.Cells you are using?

Thank you.

hi,

I made the download of version 4.5.0.0 and the problem was resolved.
Thank you a lot.
Alexandre