# Delete Rows

> `UiPath.MicrosoftOffice365.Activities.Excel.DeleteRows`

`UiPath.MicrosoftOffice365.Activities.Excel.DeleteRows`

## **Description**

Uses the Microsoft Graph [Delete table row](https://docs.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0#delete-table-row) API to delete the specified rows from a table.

### Scopes

This activity requires the following scopes:

* Files.ReadWrite

OR

* Files.ReadWrite.All

OR

* Sites.ReadWrite.All

## Project compatibility

Windows - Legacy | Windows

## **Configuration**

**Properties**

#### Common

* **DisplayName** - The display name of the activity. This property supports `String` variables and string formatted values.

#### Input

* **Rows** - The specific rows to delete. Example of values for Rows parameter: “2”, "1-3", “1, 4”, “0, 1, 3-5”. This property supports `String` variables and string formatted values.
* **Table Name** - The name of the table. This property supports `String` variables and string formatted values.
* **Workbook** - The Drive Item of the Excel document. Use the [Find Files And Folders](https://docs.uipath.com/activities/other/latest/productivity/office365-find-files-and-folders) activity to retrieve this Drive Item. This field supports only `DriveItem` variables.

#### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.
