Spread Windows Forms 12.0 Product Documentation
Add Method (IWorksheets)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorksheets Interface : Add Method
A string value indicates the name of the IWorksheet.
An integer value indicates the position of the new created IWorksheet.
Creates a new IWorksheet.
Syntax
'Declaration
 
Function Add( _
   Optional ByVal worksheetName As String, _
   Optional ByVal insertAt As Integer _
) As IWorksheet
'Usage
 
Dim instance As IWorksheets
Dim worksheetName As String
Dim insertAt As Integer
Dim value As IWorksheet
 
value = instance.Add(worksheetName, insertAt)

Parameters

worksheetName
A string value indicates the name of the IWorksheet.
insertAt
An integer value indicates the position of the new created IWorksheet.
See Also

Reference

IWorksheets Interface
IWorksheets Members