# Create Workbook

Learn how to create a workbook using DsExcel through a sample code.

## Content

In DsExcel, you can create a new instance of a workbook by using the constructor of [Workbook](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.Workbook.html) class.
A workbook may contain one or more worksheets that are kept in the Worksheets collection. By default, a workbook contains one empty worksheet with the default name **Sheet1**, which is created as soon as the user generates a new instance of the Workbook class.
Refer to the following example code to see how you can create a workbook using DsExcel.

```csharp
//Initialize the WorkBook 
Workbook workbook = new Workbook();
```

In order to add more worksheets to your workbook, refer to [Work with Worksheets](/document-solutions/dot-net-excel-api/docs/online/Features/ManageWorksheet/WorkWithSheets) in this documentation.

## See Also

[Open and Save Workbook](/document-solutions/dot-net-excel-api/docs/online/Features/ManageWorkbook/open-and-save-workbook)