Workbook::&addWorksheet

Workbook::&addWorksheet -- Add a new worksheet to the Excel workbook.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

object reference Workbook::&addWorksheet ([string $name=''])

Description

Add a new worksheet to the Excel workbook. If no name is given the name of the worksheet will be Sheeti with i in [1..].

Parameter

Return value

object reference - to a worksheet object

Note

This function can not be called statically.

Example