# Configure Print Area

DsExcel allows you to select a range of cells in order to configure the desired print area in a worksheet for customized printing.

## Content

At times, you may want to print only a specific area in a worksheet instead of printing the whole worksheet.
DsExcel .NET supports customized printing by allowing users to select a range of cells in order to configure the desired print area in a worksheet. This can be done by using the [PrintArea property](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.PrintArea.html) of the [IPageSetup interface](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.html).

```csharp
//Set print area in the worksheet
worksheet.PageSetup.PrintArea = "$D$5:$G$10";
```