AddSheet
Creates a new worksheet. The new worksheet becomes the active sheet.
Syntax
expression.AddSheet(sName);
expression
- A variable that represents a Api class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
sName | Required | string | The name of a new worksheet. |
Returns
This method doesn't return any data.
Example
This example creates a new worksheet.
var oSheet = Api.AddSheet("New sheet");