Public Overloads Function AddWorksheet( _ ByVal workbook As Workbook, _ ByVal worksheetName As String _ ) As Worksheet
Dim instance As ExcelReportsGenerator Dim workbook As Workbook Dim worksheetName As String Dim value As Worksheet value = instance.AddWorksheet(workbook, worksheetName)
public Worksheet AddWorksheet( Workbook workbook, string worksheetName )
public: Worksheet^ AddWorksheet( Workbook^ workbook, String^ worksheetName )
Parameters
- workbook
- The workbook to add the worksheet to
- worksheetName
- The name of the worksheet
Return Value
The worksheet that was added