# Create Table

> `UiPath.MicrosoftOffice365.Activities.Excel.CreateTableConnections`

`UiPath.MicrosoftOffice365.Activities.Excel.CreateTableConnections`

## 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 | Cross-platform

## **Configuration**

* **Microsoft OneDrive & SharePoint** - The connection for the Microsoft 365 account to use in the activity.
* **Workbook** - The Drive Item of the Excel document.
* **Worksheet name**- The full name of the worksheet. This property supports `String` variables and string formatted values.
* **Range** - The range representing the data source for creating the table. 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.
* **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**.
