# Delete Column

> `UiPath.MicrosoftOffice365.Activities.Excel.DeleteColumn`

`UiPath.MicrosoftOffice365.Activities.Excel.DeleteColumn`

## Description

Uses the Microsoft Graph [Delete table column](https://docs.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0#delete-table-column) API to delete a column 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

* **Column Name** - The name of the column to delete. 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.
