Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / SheetActionsCommand Class / InsertSheet Method
Current workbook
Type of the new sheet


In This Topic
    InsertSheet Method
    In This Topic
    Create SheetActionsCommand for inserting a sheet
    Syntax
    'Declaration
     
    
    Public Shared Function InsertSheet( _
       ByVal workbook As IWorkbook, _
       ByVal type As WorksheetType _
    ) As SheetActionsCommand
    'Usage
     
    
    Dim workbook As IWorkbook
    Dim type As WorksheetType
    Dim value As SheetActionsCommand
     
    value = SheetActionsCommand.InsertSheet(workbook, type)
    public static SheetActionsCommand InsertSheet( 
       IWorkbook workbook,
       WorksheetType type
    )

    Parameters

    workbook
    Current workbook
    type
    Type of the new sheet
    See Also