Freeze Panes in Php

Aspose.Cells - Freeze Panes

To Freeze Panes in the Spreadsheet Document using Aspose.Cells Java for PHP, simply invoke FreezePanes module.

PHP Code

 //Instantiating a Excel object by excel file path

$workbook = new Workbook($dataDir . "book.xls");

//Accessing the first worksheet in the Excel file

$worksheets = $workbook->getWorksheets();

$worksheet = $worksheets->get(0);

//Applying freeze panes settings


//Saving the modified Excel file in default format

$workbook->save($dataDir . "book.out.xls");

Download Running Code

Download Freeze Panes (Aspose.Cells) from any of the below mentioned social coding sites: