[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheets.Add

Add Method

Add()

Creates a new worksheet. The new worksheet becomes the active sheet.

Declaration
IWorksheet Add()
Function Add() As IWorksheet
Returns
Type Description
IWorksheet

Returns the new worksheet.

Add(SheetType)

Creates a new sheet. The new sheet becomes the active sheet.

Declaration
IWorksheet Add(SheetType type)
Function Add(type As SheetType) As IWorksheet
Parameters
Type Name Description
SheetType type

The sheet's type.

Returns
Type Description
IWorksheet

Returns the new sheet.