# Workbook

## Content



A workbook is a spreadsheet document that comprises one or more worksheets. Excel for .NET provides all the necessary properties and methods required to create a workbook, perform complex operations on the data residing in the spreadsheets. The following sections discuss various operations that can be performed on workbooks.

## Create a Workbook

You can create an object of the [C1XLBook](/componentone/docs/win/online-excel/) class to create a new workbook in code as showcased in the following code.

```csharp
//create a new workbook
C1XLBook c1XLBook1 = new C1XLBook();
```

## Set Author

Author refers to the name of the person or company that created a certain document. With Excel, you can easily set the name of the author using [Author](/componentone/docs/win/online-excel/) property of the **C1XLBook** class as demonstrated in the following code. In this example, we set the author of c1XLBook1 to "GC".

```csharp
//set author
c1XLBook1.Author = "GC";
```