'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)
IWorksheet Add( string worksheetName, int insertAt )
Parameters
- worksheetName
- A string value indicates the name of the IWorksheet.
- insertAt
- An integer value indicates the position of the new created IWorksheet.