Workbook::&addWorksheet

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

Referentiesamenvatting

require_once "Spreadsheet/Excel/Writer.php";

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

Beschrijving

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 waarde

returns a reference to a worksheet object on success, PEAR_Error on failure

Note

Deze functie kan niet statisch worden aangeroepen.

Voorbeeld