# Create Table

> Create Table activity that uses the Microsoft Graph Add table API to create a table from the specified range in Microsoft 365.

`UiPath.MicrosoftOffice365.Activities.Excel.CreateTable`

## Description

Uses the Microsoft Graph [Add table](https://docs.microsoft.com/en-us/graph/api/tablecollection-add?view=graph-rest-1.0&tabs=http) API to create a table from the specified range.

### Scopes

This activity requires the following scopes:

* Files.ReadWrite

OR

* Files.ReadWrite.All

OR

* Sites.ReadWrite.All

## Project compatibility

Windows - Legacy | Windows

## Configuration
### Properties panel

#### Common

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

#### Input

* **Has Headers** - Indicates whether the first row of the range is used as the header row for the table. This field only supports boolean values (True, False). The default value is **False**.
* **Range** - The range representing the data source for creating the table. This property supports `String` variables and string formatted values.
* **Sheet Name** - The name of the sheet. 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 only supports Boolean values.
