Description |
---|
Excerpt |
---|
Inserts a new worksheet into the workbook at a specified position. |
Signature | ||||
---|---|---|---|---|
| ||||
public Worksheet InsertSheet(System.String name, int position) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Function InsertSheet(ByVal name As String, ByVal position As Integer) As Worksheet |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The name of the sheet to create and insert. |
Param | ||||
---|---|---|---|---|
| ||||
The 0-based position at which to insert the worksheet. If |
Returns |
---|
A Worksheet object representing the inserted worksheet. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|