Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To freeze panes in a spreadsheet document using Aspose.Cells Java for PHP, simply invoke the FreezePanes method.
PHP Code
//Instantiating an 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
$worksheet->freezePanes(3,2,3,2);
//Saving the modified Excel file in default format
$workbook->save($dataDir . "book.out.xls");
Download Freeze Pans (Aspose.Cells) from any of the below mentioned social coding sites:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.