ExpertXls Excel Library for .NET
AddWorksheet Method (worksheetName)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorksheetsCollection ► AddWorksheet(String)
ExpertXls Excel Library for .NET
Adds a new worksheet with the specified name to the worksheets collection
Declaration Syntax

C# | Visual Basic | Visual C++

    public ExcelWorksheet AddWorksheet(
    	string worksheetName
    )

    Public Function AddWorksheet ( _
    	worksheetName As String _
    ) As ExcelWorksheet

    public:
    ExcelWorksheet^ AddWorksheet(
    	String^ worksheetName
    )

Parameters

worksheetName (String)
  The new worksheet name

Return Value
The newly created worksheet

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)