What can you do with it?
Microsoft Excel integration allows you to programmatically manage spreadsheets and data through the Microsoft Graph API. You can search for Excel files, create and manage worksheets, update cell values, work with tables including adding, updating and deleting rows, and perform data operations like filtering and sorting. This integration is perfect for automated reporting, data processing workflows, spreadsheet management, and building data-driven applications that interact with Excel files stored in OneDrive for Business or SharePoint.How to use it?
Basic Command Structure
Parameters
Required:action
- The operation to perform with Excel
Tools
Search Excel Files
Find Excel files by name in your OneDrive Parameters:filename
(required) - Name or partial name of the Excel file
List Worksheets
Get all worksheets in a workbook Parameters:workbook-id
(required) - The ID of the Excel workbook
Create Worksheet
Add a new worksheet to a workbook Parameters:workbook-id
(required) - The ID of the Excel workbooksheet-name
(required) - Name for the new worksheet
Update Cell Value
Update the value of a specific cell or range Parameters:workbook-id
(required) - The ID of the Excel workbookworksheet-id
(required) - The ID or name of the worksheetcell-range
(required) - Cell address (e.g., A1) or range (e.g., A1:B2)value
(required) - Value(s) to insert
Create Table
Create a new table in a worksheet Parameters:workbook-id
(required) - The ID of the Excel workbookworksheet-id
(required) - The ID or name of the worksheettable-range
(required) - Range for the table (e.g., A1:D10)has-headers
(optional) - Whether first row contains headers (default: true)
Add Table Row
Add a new row to an existing table Parameters:workbook-id
(required) - The ID of the Excel workbooktable-id
(required) - The ID of the tablerow-data
(required) - Array of values for the new row
Get Table Data
Retrieve all data from a table Parameters:workbook-id
(required) - The ID of the Excel workbooktable-id
(required) - The ID of the table
Delete Worksheet
Remove a worksheet from a workbook Parameters:workbook-id
(required) - The ID of the Excel workbookworksheet-id
(required) - The ID or name of the worksheet to delete