Display or Hide Tabs in Php

Aspose.Cells - Display or Hide Tabs

Hiding Tabs

To hide tabs using Aspose.Cells Java for PHP, call displayhidetabs module.

PHP Code

 //Instantiating a Workbook object by excel file path

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

//Hiding the tabs of the Excel file

$workbook->getSettings()->setShowTabs(false);

//Saving the modified Excel file in default (that is Excel 2003) format

$workbook->save($dataDir + "output.xls");

Download Running Code

Download Hide or Display or Hide Tabs (Aspose.Cells) from any of the below mentioned social coding sites: